Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to parse src url with & in it (i.e. multiple parameters) #24

Open
gustafnk opened this issue Jun 7, 2024 · 0 comments
Open

Fails to parse src url with & in it (i.e. multiple parameters) #24

gustafnk opened this issue Jun 7, 2024 · 0 comments

Comments

@gustafnk
Copy link

gustafnk commented Jun 7, 2024

The crate panics when it encounters a src url with an & in it, i.e. https://www.example.com/?foo=bar&baz=widget

invalid request URL provided: `Error while escaping character at range 32..43: Cannot find ';' after '&'`

Example document:

<!DOCTYPE html>
<html lang="sv-SE" dir="ltr">
<head>
  <meta charSet="utf-8" />
  <title>Can't parse query string</title>
</head>
<body>
  <esi:include src="https://www.example.com/?foo=bar&baz=widget" />
</body>
</html>

I can provide a full stack trace in a private chat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant