REPO-859 Backport REPO-858 to 7.8.xx (2.24.xx): QueryString is not escaped when printing error in RepositoryServlet
REPO-860 Backport REPO-858 to 7.7.xx (2.22.xx): QueryString is not escaped when printing error in RepositoryServlet