sonatype/nexus-oss — pull request #762 by jdillon (2014-10-07 23:18:57+00:00)
Title: [NEXUS-7558] simple errors fix baseurl calculation

https://issues.sonatype.org/browse/NEXUS-7558

Encodes strings given to render error pages.

Aslo fixes baseUrl calculation which was messed up and not actually returning the proper base url when calculating from request.