libcord-tech / gauntlet

A keybinding tool for defending quickly in NationStates.
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Parse URL parameters in path only #33

Closed esfalsa closed 1 year ago

esfalsa commented 1 year ago

So, turns out #27 broke URL parameter parsing for links containing search parameters. (Oops.)

We could also parse URL search parameters as well — for instance, both www.nationstates.net/?nation=testlandia and www.nationstates.net/nation=testlandia are working links, and I think the NationStates server parses both equivalently — but for now I've just gone with parsing only URL parameters in the pathname of URLs which seems a bit more conventional.