3 ms·
the '=' isn't url safe.
by irq-1 6y ago
the '=' isn't url safe.
- nostoc 6y agoThat's not the point. encoding 9 bytes doesn't give any '=', because 3 bytes encode to 4 b64 characters.
- ignoramous 6y agoAFAIK: '=' is URI (path) safe [0] '=' is not query-param safe [1] Ex: [0] https://golang.org/pkg/net/url/#PathEscape https://golang.org/pkg/net/url/#PathEscape [1] https://golang.org/pkg/net/url/#QueryEscape https://golang.org/pkg/net/url/#QueryEscape