KhronosGroup / OpenGL-Registry

OpenGL, OpenGL ES, and OpenGL ES-SC API and Extension Registry
677 stars 274 forks source link

EXT links break if trailing slash is in URL #612

Open KhronosWebservices opened 3 months ago

KhronosWebservices commented 3 months ago

All of the links for extensions are broken if a trailing slash is in the URL.

Links work:

https://registry.khronos.org/OpenGL/index_gl.php

Links broken:

https://registry.khronos.org/OpenGL/index_gl.php/

For example, with a trailing slash, for ARB and KHR Extensions by number for #2 you get this as the link:

https://registry.khronos.org/OpenGL/index_gl.php/extensions/ARB/GLX_ARB_get_proc_address.txt

Which leads to the same page. Normally an end user will not end up on a page with a trailing slash, but search engines are, and this is creating a large number of bad links:

image image

And yes, it's been an issue for awhile, was just alerted to it.

Can the links be changed to absolute instead of relative?