Skip to content

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

Open
@gustafnk

Description

@gustafnk

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions