diff options
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 42172d900..5026d8314 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -256,7 +256,10 @@ the time this message appeared. </p> <script type="text/javascript"> <!-- - document.write("<p>URL: " + document.location + "</p>"); + document.write("<p>URL: " + + document.location.href.replace(/&/g,"&") + .replace(/</g,"<") + .replace(/>/g,">") + "</p>"); // --> </script> </tt> |