metacpan-web icon indicating copy to clipboard operation
metacpan-web copied to clipboard

Server errors for modules with weird versions

Open thibaultduponchelle opened this issue 3 years ago • 1 comments

Hello,

502 Bad Gateway

I just noticed these 502 Bad Gateway with some URL.

These URL are abusing the versioning scheme (sorry 😁) and not indexed by PAUSE

Acme::Version::Negative version '-2.00': Screenshot from 2021-06-10 08-50-43

Acme::Version::utf8 version '😏': Screenshot from 2021-06-10 08-52-48

503 first byte timeout

Also adding utf8 smileys into some url will confuse metacpan/cdn:

https://metacpan.org/dist/😏: Screenshot from 2021-06-10 08-58-46

Thank you guys for the past/present and future work on metacpan! 👍🏼

thibaultduponchelle avatar Jun 10 '21 07:06 thibaultduponchelle

For the 502, this looks like a problem that is specific to nginx. That page opens fine using my up to date test mirror:

https://mc.gfish.info/release/CONTRA/Acme-Version-Negative--2.00

and I use apache httpd for the front end / public-facing web server that proxies to the MC backend.

gordon-fish avatar Jun 10 '21 15:06 gordon-fish