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

URI parse error on Uri containing '?' #3

Open
netr0m opened this issue Mar 6, 2018 · 0 comments
Open

URI parse error on Uri containing '?' #3

netr0m opened this issue Mar 6, 2018 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@netr0m
Copy link
Owner

netr0m commented Mar 6, 2018

When a request Uri is parsed, and it contains a '?' question mark, it causes an exception:

// Report a parse failure.
  static void _fail(String uri, int index, String message) {    uri: "/lookup_accounts?lowerBoundName=amigos&limit=16"    index: 16    message: "Invalid character"
    throw new FormatException(message, uri, index);
  }

This happens to any Uri containing a '?', although '?' should be allowed (it's a reserved character of Uri's)

@netr0m netr0m added bug Something isn't working help wanted Extra attention is needed labels Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant