bugConcurrent Versions System - Bugs: bug #20224, Problem with space in username for...

 
 

bug #20224: Problem with space in username for login

Submitted by:  Thomas Nyström <thn_saeab>
Submitted on:  Wed 20 Jun 2007 02:29:31 PM UTC  
 
Category: Bug Fix (patch attached)Severity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 
Fixed Release: NoneFixed Feature Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 08 May 2008 08:02:18 PM UTC, comment #2:

Not closable - Eugen didn't have a pserver to test against.

Derek Robert Price <dprice>
Project Administrator
Thu 08 May 2008 07:50:14 PM UTC, comment #1:

Can't duplicate testing. Flagging as closeable

Eugen Zglimbea <eugenzglimbea>
Wed 20 Jun 2007 02:29:31 PM UTC, original submission:

If I make a <<cvs -d ":pserver:user name@fileserver/repo" login>> it succeeds and username and password is stored in ~/.cvspass.

A later <<cvs -d ":pserver:user name@fileserver/repo" co something>> fails becuase it could not pickup the scrambled password from ~/.cvspass.

The parsing of the ~/.cvspass file fails (without any message) if the username contains a space.

The attached patch fixes this and everything works.

This have been tested on FreeBSD 6.2 RELEASE with
cvs 1.11.17-FreeBSD (client/server)
cvs 1.11.22 (client/server)

Thomas Nyström <thn_saeab>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #13115:  login.c.diff added by thn_saeab (1kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dprice (Posted a comment)
  • -unavailable- added by eugenzglimbea (Posted a comment)
  • -unavailable- added by thn_saeab (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 20 Jun 2007 02:29:32 PM UTCthn_saeabAttached File-=>Added login.c.diff, #13115
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup