illegal-character-in-link-domain

⌘K
  1. Home
  2. SiteLint
  3. Quality Rules
  4. illegal-character-in-link-domain

illegal-character-in-link-domain

Print this article

Description

This rule determines if the domain specified in attribute href on <a> or <area> HTML element does not contain illegal characters considered unsafe.

Incorrect example

<a href="https://This is incorrect domain/">Invalid link</a>

How to fix it

  • Ensure domain specified in the attribute href does not contain illegal characters, e.g. space.

Standard

Quality, Best Practice, SiteLint

Was this article helpful to you? No Yes

How can we help?