Breaking
-
No longer automatically decodes
req.url
andreq.path
values anymore (#172): 6ef32a6, 363e1f6
Previously, these properties had already passed throughdecodeURIComponent
, which could affect Polka's own routing (#142) or external middleware that always expectedreq.path
and/orreq.url
to remain percent-encoded.However, all
req.params
values are still decoded!This change aligns Polka with the default Express decoding behavior.