Sp 403

From Htmlpedia
Jump to: navigation, search

OpenSP: Reference to external entity in attribute value

Cause:

This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example.

Example:

Bad<a href="index.php?a=1&b=2" title="title & others">
Good<a href="index.php?a=1&amp;b=2" title="title & others">

Solution:

You will need to escape all instances of '&' into '&amp;'.

References: