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.

URL parser does not stop on apostrophe, valid in certain parts of link?

See original GitHub issue

The following link:

https://www.google.com's

Parses to include the 's in the link, which of course won’t resolve.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kode54commented, Jul 11, 2017

Hope this is enough.

medialize/URI.js#339

0reactions
xPawcommented, May 26, 2018

Fixed on master.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apostrophe not parsed correctly · Issue #339 · medialize/URI.js
Another project using this parser produces URIs that include ... URL parser does not stop on apostrophe, valid in certain parts of link?...
Read more >
How do you pass an apostrophe through a URL?
(It is a 'reserved' character, but carries no special meaning in this context.) The problem is likely to be at the end receiving...
Read more >
Apostrophe in URLs is automatically escaped by Firefox, but ...
RFC 1738 suggests that an apostrophe does not need to be URL encoded: Thus ... Of course, as the number of possible 'valid'...
Read more >
Should I escape the Apostrophe ( ' ) character with its HTML ...
"If your apostrophe belongs to content, escape it." - This would seem to be incorrect (as if missing the word "don't"). If the...
Read more >
Strings - Manual - PHP
A string is series of characters, where a character is the same as a byte. This means that PHP only supports a 256-character...
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