jgoerzen / pygopherd

Multiprotocol Gopher/Web Server [Python]
GNU General Public License v2.0
170 stars 25 forks source link

Fixing "URL:" selectors without preceding slash #5

Closed qunka closed 4 years ago

qunka commented 5 years ago

Due to a quirk in how the gophermap and umn handlers work, "URL:" selectors in subdirectories require a preceding slash to not be interpreted as relative links. This fix makes the handlers in question treat "URL:" selectors the same as absolute links.