Adds in the correct variable when checking for existing querystring value #166
No reviewers
Labels
No Label
blocked
bug
build
documentation
duplicate
enhancement
finger
gemini
gopher
help wanted
http
in progress
invalid
local
needs-info
non-code
non-functional
non-urgent
question
release
rendering
suggestion
telnet
terminal
urgent
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sloum/bombadillo#166
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix-repeated-query"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
During the rush up to
2.3.0
this was supposedly fixed, but I did not have a good test case. Since I do not have access to a server with cgi enabled I was not able to create a functional test for this. In theory I suppose this could have been split into its own method and then unit tested. That actually may be the way to go.In any event, this should solve the immediate issue. To test/verify the fix:
You should be able to play the game without Sean's server sending you an error page.
This is in reference to issue #157
This PR also adds in query string escaping. Originally, using golang's
QueryEscape
spaces were being encoded as+
. Which seemed... not wrong in the eyes of RFCs, but not workable for how many gemini servers are interested. It turns out usingPathEscape
will use%20
, so hopefully this works well.This second fix is in reference to issue #161
Confirmed working using that test. Plus did the other checks like make test and it was fine. Cool! Bombadillo's prompt when playing that game works really well.
It looks like that will be the way the spec goes for sure, so it sounds like this is the right path! See this email.