[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337325: mod_proxy: encodes URLs in error messages wrongly

Package: apache2-common
Version: 2.0.55-3
Severity: minor

I've been getting a few error messages from mod_proxy as such:
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET

Reason: DNS lookup failure for: bcm-specs.sipsolutions.net

Now I tried clicking on that URL but that made me go to the URL

Notice how the questionmark was URL-encoded.

Looking at the source code of the error message reveals:
<a href="http://bcm-specs.sipsolutions.net/Sending%3faction=edit";>GET&nbsp;http://bcm-specs.sipsolutions.net/Sending?action=edit</a>

The URL inside the href="..." shouldn't be URL-encoded, it should be HTML
encoded. In this case, no encoding is necessary at all.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc4
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apache2-common depends on:
ii  apache2-utils                 2.0.55-3   utility programs for webservers
ii  debconf                       1.4.58     Debian configuration management sy
ii  debianutils                   2.15       Miscellaneous utilities specific t
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an
ii  libdb4.3                      4.3.29-1   Berkeley v4.3 Database Libraries [
ii  libexpat1                     1.95.8-3   XML parsing C library - runtime li
ii  libgcc1                       1:4.0.2-3  GCC support library
ii  libmagic1                     4.15-2     File type determination library us
ii  lsb-base                      3.0-11     Linux Standard Base 3.0 init scrip
ii  mime-support                  3.35-1     MIME files 'mime.types' & 'mailcap
ii  net-tools                     1.60-16    The NET-3 networking toolkit
ii  openssl                       0.9.8a-2   Secure Socket Layer (SSL) binary a
ii  ssl-cert                      1.0-11     Simple debconf wrapper for openssl

apache2-common recommends no packages.

-- no debconf information

Reply to: