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

api: Target schema should be case insensitive #9899

Merged
merged 1 commit into from
Feb 17, 2023

Commits on Feb 16, 2023

  1. api: Target schema should be case insensitive

    URI schema are case-insensitive. Previously the code would do
    case-sensitive matching. We expect NameResolverProviders to return the
    typical canonical scheme formatting, which is lower-case. If a
    NameResolverProvider returns an unexpected string (upper case, unicode,
    etc), then it simply won't ever match. Channel users, however, can use
    either casing in target strings.
    
    The code implicitly already handled relative URIs by returning null, as
    Map.get(null) returned null.
    ejona86 committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    45bb896 View commit details
    Browse the repository at this point in the history