Fix typo in SP documentation.
Fix for double HTML escaping for referers in error reporting.