sternenseemann / spacecookie

gopher library & server written in Haskell
https://sternenseemann.github.io/spacecookie/
GNU General Public License v3.0
47 stars 5 forks source link

Support relative paths in gophermaps #22

Closed sternenseemann closed 3 years ago

sternenseemann commented 3 years ago
       selector
              The  selector  is  the  name  of  the file on the server.  If it
              begins with a slash, it is an absolute path;  otherwise,  it  is
              interpreted relative to the directory that the gophermap file is
              in.  If no selector is specified, the description is  also  used
              as the selector.

spacecookie currently interprets relative selectors wrong.

sternenseemann commented 3 years ago

cc @hyperrealgopher

This might be interesting for Burrow: Gophermaps now support relative URLs, meaning spacecookie may spare you some path mangling.

hyperrealgopher commented 3 years ago

Thank you for notifying me about this. I'll keep that in mind!