Commit ef900287 authored by Nick Kew's avatar Nick Kew
Browse files

mod_speling/PR 38923: don't embed Referer in link in error page.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808780 13f79535-47bb-0310-9956-ffa450edef68
parent 1b42a39a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
                                                         -*- coding: utf-8 -*-
Changes with Apache 2.5.0

  *) mod_speling: Don't embed referer data in a link in error page.
     PR 38923 [Nick Kew]

  *) mod_rewrite, core: Avoid the 'Vary: Host' response header when HTTP_HOST is
     used in a condition that evaluates to true. PR 58231 [Luca Toscano]

+4 −4
Original line number Diff line number Diff line
@@ -482,10 +482,10 @@ static int check_speling(request_rec *r)
            if (ref != NULL) {
                *(const char **)apr_array_push(t) =
                               "Please consider informing the owner of the "
                               "<a href=\"";
                *(const char **)apr_array_push(t) = ap_escape_uri(sub_pool, ref);
                *(const char **)apr_array_push(t) = "\">referring page</a> "
                               "about the broken link.\n";
                               "referring page <tt>";
                *(const char **)apr_array_push(t) = ap_escape_html(sub_pool, ref);
                *(const char **)apr_array_push(t) =
                               "</tt> about the broken link.\n";
            }