web-stories-wp: Valid link treated as invalid
Bug Description
Using a valid link (e.g. https://www.google.com
) still triggers invalid link notification.
Expected Behaviour
No error message should be returned.
Steps to Reproduce
- Insert element
- Add link
- Insert
https://www.google.com
as URL - See error message saying that the URL is invalid.
Screenshots
Additional Context
- Plugin Version:
master
- Operating System:
- Browser:
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
- An error message is displayed below the input field if the URL is invalid.
- The fields for the metadata (ie description and brand icon) should only appear if the user enters a valid url.
Implementation Brief
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (6 by maintainers)
Seems like a PHP-side solution is needed here. I’d see if we’re caching the requests and look more into the user agents used etc. Nevertheless, I think we should reassign and bring down from P1 to P2.