libwww-perl / URI

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

Regression test added for a previous bug (5.11) in URI::file #106

Closed Perlbotics closed 2 years ago

Perlbotics commented 2 years ago

Hi, perhaps you like to add this regression test to the URI module? The bug is explained in detail in t/file.t.

The Changes paragraph:

  • Regression test added for a previous bug (5.11) in URI::file (Perlbotics). file() method of URI::file can return the current working directory instead of the properly unescaped path.
Perlbotics commented 2 years ago

Hi Olaf (@oalders), I cannot simplify it more ;-) Now, the test case focuses on the specific bug only. I also ran the test against 5.11 and it failed as expected.

oalders commented 2 years ago

Thanks, @Perlbotics! I've merged this manually. It now appears as 8bd9cdb4ebe2475c5.