Encode any ":", "@" or "/" within the user and password field in proxy settings.

Bug #422480 reported by Igor Korobka
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I have password for corporate proxy server and this password contains following symbols: "_%/&{" (without quots). One of the mentioned symbols in password is not escaped (I think this is "/" symbol). So, when I try to use Internet connection through corporate proxy I gets some every weird messages. I've attached video where you can view these messages. The same issue appears in Synaptic package manager. I can't provide report of the ubuntu-bug tool because it fails to upload report through proxy.

Here are some info that ubuntu-bug collected on my desktop:
Package: gnome-control-center 1:2.26.0-ubuntu3
PackageArchitecture: i386
ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash
Uname: Linux 2.6.28.15-generic i686
DistroRelease: Ubuntu 9.04
Architecture: i386

Revision history for this message
Igor Korobka (igokoro) wrote :
Revision history for this message
Alex Ivasyuv (industral) wrote :

Confirm this issue. Same times difficult passwords (with a lot of escape symbols) not works in GNOME.
Seems escape password issue.

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

According to the specs (http://www.w3.org/Addressing/rfc1738.txt) some symbols need to be escaped in username and password fields:
'The user name (and password), if present, are followed by a commercial at-sign "@". Within the user and password field, any ":", "@", or "/" must be encoded.'

As a side note the specs also mentioned that the scheme http://<user>:<password>@<host>:<port>/ is not valid, but most apps (apt, wget, ...) accepts it and this behavior is documented in the apt.conf man page for example.

Setting status to triaged.

Changed in gnome-control-center (Ubuntu):
status: New → Triaged
summary: - proxy password escape symbol issue
+ Encode any ":", "@" or "/" within the user and password field in proxy
+ settings.
Changed in gnome-control-center (Ubuntu):
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.