Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Malformed URL validator for attribute 'href' in tag 'a' is missing #242

Open
iransamaneh opened this issue Sep 18, 2018 · 0 comments
Open

Comments

@iransamaneh
Copy link

using an a tag with malformed url like https://.sample.com/test/route in AMP validator led to following error without any warning or error in convertToAmpHtml method

Malformed URL 'https://.sample.com/test/route' for attribute 'href' in tag 'a'. DISALLOWED_HTML

sample code

<a href="https://.sample.com/test/route">test link</a>

tested with master source code version of amp-library using composer and php 5.6

iransamaneh added a commit to iransamaneh/amp-library that referenced this issue Sep 22, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant