question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

URLs without // don't parse correctly

See original GitHub issue

URLs like: mailto:johndoe@example.com don’t parse correctly due to our logic on when to add a scheme delimeter to a URL.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
sigmavirus24commented, Jan 28, 2019

It’s unfortunate that I know the RFC as well as I do, but I guess also inevitable.

0reactions
sethmlarsoncommented, Jan 27, 2019

You’re right @sigmavirus24, our scheme detecting regex is wrong but the above example shouldn’t parse that way. Thanks for correcting me before I go too off the rails. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linked-In URLs do not parse correctly · Issue #26 - GitHub
LinkedIn is returning a 999 response code. They are not allowing it to be retrieved. They filter based on the user agent, it...
Read more >
URL confusion vulnerabilities in the wild: Exploring parser ...
In this post, we will take a look at the history of URLs, explore possible sources of URL parser confusion, run through an...
Read more >
EXPLOITING URL PARSERS: THE GOOD, BAD, AND ...
The underlying fact is that when supplied with such a URL, almost no URL eparser parses the URL successfully because the URL does...
Read more >
Easily Parse URLs in JavaScript with parse-url - Stack Abuse
In this practical easy guide, learn how to easily parse URLs in JavaScript using parse-url. Get the domain, host name, query parameters and ......
Read more >
Java's URL not parsing string properly - Stack Overflow
@YassinHajaj, I don't want my app to connect to an address like "http:sdfasdfasdfas" or something. It's missing "//" part, domain part and I ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found