Changes to ticket 68c7f7bee9
By rwilson on 2009-10-07 00:17:54. See also: artifact content, and ticket history
- Change comment to "the remote-url command should preserve the username and password that are embedded in the url, but it does not. my system is a windows system, if that makes a difference. however, i think the problem is in remote_url_cmd() where it stores g.urlCanonical, which strips the usr:pwd@ from the url. process_sync_args(), by comparison, will take <nowiki>arg[2]</nowiki> over g.urlCanonical as long as the url does not refer to a file. i think remote_url_cmd() should do the same. <pre> PS C:\fossil\fossil> fossil remote-url --show-pw http://rwilson:password@www.fossil-scm.org/ PS C:\fossil\fossil> fossil remote-url http://a:b@www.fossil-scm.org/ http://www.fossil-scm.org/ PS C:\fossil\fossil> fossil remote-url --show-pw http://www.fossil-scm.org/ PS C:\fossil\fossil> fossil ver This is fossil version [37f295c310] 2009-09-21 19:19:20 UTC PS C:\fossil\fossil> </pre>"
- Change foundin to "37f295c310"
- Change private_contact to "2359089ef753bc96e12743e299243d5232c749fa"
- Change severity to "Minor"
- Change status to "Open"
- Change title to "remote-url command doesn't persist username and password"
- Change type to "Code_Defect"