Raku / modules.raku.org

Source code for modules.raku.org - Raku module listing
https://modules.raku.org/
Artistic License 2.0
27 stars 27 forks source link

Module names with `../` in their name #117

Open AlexDaniel opened 5 years ago

AlexDaniel commented 5 years ago

Go here: https://modules.perl6.org/search/?q=foo You will find a module called ../Foo.

image

Clicking on it leads to this url:

https://modules.perl6.org/Foo:github:Aleks-Daniel%20Jakimenko-Aleksejev

Instead of something like this (where ../ needs to be escaped):

https://modules.perl6.org/dist/../Foo:github:Aleks-Daniel%20Jakimenko-Aleksejev

If I understand correctly, that's not a vulnerability by itself. I think links constructed with url_for can't have custom unescaped html in them. But it's still something that needs to be fixed.