libsdl-org / sdlweb

The website for Simple Directmedia Layer.
https://libsdl.org
Other
12 stars 13 forks source link

Incorrect redirection of mercurial to github when containing a line number reference #5

Open iddev5 opened 3 years ago

iddev5 commented 3 years ago

Taking this link from FAudio's source as example: https://hg.libsdl.org/SDL/file/df343364c6c5/src/audio/pulseaudio/SDL_pulseaudio.c#l577

This gets converted to: https://github.com/libsdl-org/SDL/blob/9db16a6557351a4717a9ed118d9b54c9351c0651/src/audio/pulseaudio/SDL_pulseaudio.c#l577

However, for GitHub, it should be #L577 for the last part (capitalized L)

icculus commented 3 years ago

I'm not aware of a way to fix this; the '#' part of the string is not passed to the server, but only seen by the browser.