a1031fb717
The localapi was double-unescaping: once by net/http populating
the URL, and once by ourselves later. We need to start with the raw
escaped URL if we're doing it ourselves.
Started to write a test but it got invasive. Will have to add those
tests later in a commit that's not being cherry-picked to a release
branch.
Fixes #2288
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
ipnlocal | ||
ipnserver | ||
ipnstate | ||
localapi | ||
policy | ||
backend.go | ||
doc.go | ||
fake_test.go | ||
handle.go | ||
message.go | ||
message_test.go | ||
prefs.go | ||
prefs_clone.go | ||
prefs_test.go | ||
store.go | ||
store_test.go |