Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

This is really common quality issue. A developer writes some code which works with plain old vanilla data.

Then they hit a character that is a special character in the medium they are using. This data needs to be escaped to make it work.

  • See HTML entities for example - < > &

  • File special characters like / \ : , spaces and unicode

  • JSON special characters like [, ] , { }, “ ,'

Also look at the simple templating function for HTML which is safe by design.

  • No labels