You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rejects valid URLs that contain the string http more than once. I have some of those in my bookmarks and noticed that new ones were getting rejected in the web UI.
Here are some examples of valid URLs that fail this check:
It's not a super crushing work stopper or anything, as I can paste half of the link to get it added, then later edit the link to add the rest and I suppose a different check is used because then it is accepted.
To Reproduce
Steps to reproduce the behavior:
Go to your web app raindrop.io
Click on '+ Add' to add a link
Paste one of the example links above, all of which are valid URLs, into the form
Click "Submit"
Receive error "Please enter a valid URL(s)"
Expected behavior
URLs of this form should be accepted as new link entries
Desktop:
OS: Windows 11
Browser Brave
Version 1.75.181
The text was updated successfully, but these errors were encountered:
Describe the bug
Commit 2ac828d "Support pasting multiple URLs in Add form" introduced extractURLs.js which is used to support multiple URL adds.
The link validation is const urlPattern = /https?://[^\s]+/gi;
this seems ok, but later
rejects valid URLs that contain the string http more than once. I have some of those in my bookmarks and noticed that new ones were getting rejected in the web UI.
Here are some examples of valid URLs that fail this check:
https://www.google.com/search?q=http
https://web.archive.org/web/20250225043633/https://www.nytimes.com/2025/02/24/science/asteroid-2024-yr4.html
https://www.tutorialspoint.com/http/index.htm
It's not a super crushing work stopper or anything, as I can paste half of the link to get it added, then later edit the link to add the rest and I suppose a different check is used because then it is accepted.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
URLs of this form should be accepted as new link entries
Desktop:
The text was updated successfully, but these errors were encountered: