libwww-perl / URI

The Perl URI module
https://metacpan.org/pod/URI
Other
41 stars 48 forks source link

regression in uri_escape #111

Closed dakkar closed 1 year ago

dakkar commented 1 year ago

with URI 5.12, I can say uri_escape($foo,'\W') and all non-word characters in $foo get percent-encoded

with URI 5.13, nothing seems to be percent-encoded

I believe that \W is a valid string to pass as 2nd argument, because /[\W]/ is a valid regex and matches non-word characters.

haarg commented 1 year ago

This is caused by 1a4ed66802f26c15cccd66c0b5d489cf9f3e3ba4.

@happy-barney

gregoa commented 1 year ago

We (well, so far only me :)) are also seeing regressions in Debian:

https://bugs.debian.org/1021511 "URI 5.13 breaks Net::Twitter::Lite::WithAPIv1_1 and Net::Twitter"

Cheers, gregor