[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Bug + Patch - Command URLs with spaces parsed incorrectly

From: Jared Hefty <jared.hefty_at_gmail.com>
Date: Mon, 28 May 2012 03:41:16 -0700 (PDT)

Running the following to invoke the URL handler

tsvncmd:command:showcompare?url1:https://svn/trunk/Scripts/Desert Storm.ini?url2:https://svn/trunk/Scripts/Desert Storm.ini?revision1:229?revision2:230

will report an SVN error, since the command line quoting code will mangle the value portion of url1 and url2 to

url1:"https:"//svn/trunk/Scripts/Desert Storm.ini"

Attached is a patch to ensure that the correct portion of the string is quoted.

Regards,

Jared

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2967334

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2012-05-28 12:48:03 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.