AuthenticationConfig.{get_password,get_username}() returns unicode or str objects

Bug #514301 reported by Jelmer Vernooij
42
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Vincent Ladeuil

Bug Description

  affects bzr

AuthenticationConfig.get_password() returns a unicode string when
retrieving a password from authentication.conf, and a plain string when
prompting the user. It would be nice if it could consistently return an
object of either of these types.

Martin Pool (mbp)
tags: added: authentication config unicode
Changed in bzr:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Vincent Ladeuil (vila) wrote :

It must be Unicode and respect user input encoding even.

Revision history for this message
Gordon Tyler (doxxx) wrote :

Changing this to High since it makes authenticated svn servers impossible to use (see bug 894695) unless the user encodes their username and password into the SVN URL on the command-line, which is NOT a good practice.

Changed in bzr:
importance: Low → High
Jelmer Vernooij (jelmer)
summary: - AuthenticationConfig.get_password() returns unicode or str objects
+ AuthenticationConfig.{get_password,get_username}() returns unicode or
+ str objects
Vincent Ladeuil (vila)
Changed in bzr:
assignee: nobody → Vincent Ladeuil (vila)
status: Confirmed → In Progress
Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.6b3
status: In Progress → Fix Released
Vincent Ladeuil (vila)
Changed in bzr:
milestone: 2.6b3 → 2.6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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