Links don’t work if they contain =%

Steps to reproduce

  1. Have a link like [Test](https://google.com/?=%s)

Expected result

New tab opened, and external link opened

Actual result

Internal link to Dynalist that does nothing when clicked

Environment

Chrome/macOS

Additional information

This is a really obscure bug report… :joy:

@Shida

Do we treat =, %, or =% as a whole differently?

I believe this caused the URL parser to fail because %s is not a valid url-encoded character, which is causing undefined behavior (in our case being recognized as an internal link).

I can fix that part for sure, but I’m not sure I can fix the failed parsing because we’re using a built-in browser parser.

1 Like