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

fix(ios): proper handling of allowNavigation with multiple wildcard #5096

Merged
merged 3 commits into from
Oct 11, 2021

Commits on Oct 4, 2021

  1. Fix multiple wildcard processing

    At the moment
    Pattern: `*.*.example.com`
    Host: `test1.test2.example.com`
    
    Iteration 1 wildcard.offset is 0
    Pattern becomes: `*.example.com`
    Host becomes: `test2.example.com`
    
    Iteration 2 wildcard.offset is 1
    Pattern becomes: `*.com`
    Host becomes:  `test2.com`
    
    The correct outcomes would be
    Pattern: `example.com`
    Host: `example.com`
    macdja38 committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    0f5f96f View commit details
    Browse the repository at this point in the history
  2. Add tests

    macdja38 committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    4a69c94 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2021

  1. Configuration menu
    Copy the full SHA
    8d94360 View commit details
    Browse the repository at this point in the history