Onebox encodes single quotes in URL breaking the link

We should follow the spec here with our encoding. Technically I think we got to allow stuff like ( and ) through cause wikipedia can use that. Even & is allowed according to spec eg: https://en.wikipedia.org/wiki/&

see: https://stackoverflow.com/a/4669755/17174

I guess we need one rule for encoding the query params and another for encoding the path.

6 Likes