Skip to content

App crashes when illegal cookies are loaded through the WebView #17568

Description

@erikpoort

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Steps to Reproduce

  1. Add a WebView to your ReactNative app.
  2. Browse to a website that sets cookies with illegal characters, like ò.
  3. Try to do a backend call to that same domain using fetch

Expected Behavior

The app should never crash on values that are set by a website.

Actual Behavior

The app crashes when illegal cookies are set.

I'm working on a PR, I'd like to use this issue to keep track / discuss.

Activity

  1. react-native-bot commented on Feb 24, 2018

    @react-native-bot
    Collaborator

    Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?

    I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.

    How to Contribute • What to Expect from Maintainers

  2. added
    Ran CommandsOne of our bots successfully processed a command.
    StaleThere has been a lack of activity on this issue and it may be closed soon.
    on Feb 24, 2018
  3. locked and limited conversation to collaborators on May 15, 2018
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

    Ran CommandsOne of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions