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

URL: Fix resolving from non-file to file URLs. #1277

Closed
wants to merge 1 commit into from

Commits on Mar 27, 2015

  1. URL: Fix resolving from non-file to file URLs.

    When resolving a reference URL with the 'file' scheme an no host
    against a base URL without the 'file' scheme, the first path element
    of the reference URL is used as the host for the target URL. This
    results in an invalid target URL.
    
    This change makes an exception for file URLs so that the host is not
    mangled during URL resolution.
    jagoda committed Mar 27, 2015
    Configuration menu
    Copy the full SHA
    e760668 View commit details
    Browse the repository at this point in the history