o icon indicating copy to clipboard operation
o copied to clipboard

Permalinks are buggy

Open phase opened this issue 10 years ago • 7 comments
trafficstars

Reopen this issue whenever Permalinks break

They're buggy and work only half the time. I think if we encode the request into base 64 and decode it in the POST request, we should be good.

phase avatar Nov 17 '15 05:11 phase

Now they don't work on mobile.

phase avatar Nov 21 '15 23:11 phase

Seems to only be iOS

phase avatar Nov 21 '15 23:11 phase

Base 64 doesn't work because we're separating the input and code with a forward slash. If the b64 encoding doesn't contain a slash, then it works.

phase avatar May 01 '16 20:05 phase

I don't have any test cases for code or inputs that, when Base 64 encoded, contain a /.

phase avatar Jul 08 '16 22:07 phase

They don't seem to work at all anymore. :( Just gives a 404 error.

refi64 avatar Sep 22 '16 23:09 refi64

The ones in the README work fine. What was the link you used? If it contains a / from the base64 encoding, it will give a 404 because it thinks it is going to a different path.

phase avatar Sep 23 '16 01:09 phase

Oops, that was it. Maybe you should just do encodeURI on the base64 encoded stuff.

refi64 avatar Sep 23 '16 02:09 refi64