Skip to content

Fixed absolute and protocol relative URL cleanup#3

Open
hvesalai wants to merge 1 commit into
camme:masterfrom
hvesalai:master
Open

Fixed absolute and protocol relative URL cleanup#3
hvesalai wants to merge 1 commit into
camme:masterfrom
hvesalai:master

Conversation

@hvesalai

Copy link
Copy Markdown
  • fixed url handling when removing protocol or server part:
    • only removes protocol and hostname from the beginning of the URL
    • handles protocol relative URLS
      (previously an URL like "//foo/foo" would have been converted to "///foo")
  • fixed module name in error message
  • removed dead code and commented-out debug logging

- fixed url handling when removing protocol or server part:
    - only removes protocol and hostname from the beginning of the URL
    - handles protocol relative URLS
      (previously an URL like "//foo/foo" would have been converted to "///foo")

- fixed module name in error message

- removed dead code and commented-out debug logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant