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

Whitespace is not escaped in URL for svn:externals, and URL-encoded characters are replaced with whitespace

From: Ryan J Ollos <ryano_at_physiosonics.com>
Date: Tue, 9 Aug 2011 13:04:17 -0700 (PDT)

In my repository there are some svn:externals with whitespace such as the
following:
`^/Projects/Verasonics/trunk/Pthreads Windows 64`

If I enter the URL as ^/Projects/Verasonics/trunk/Pthreads%20Windows%2064, I
can save the URL. However, when I reopen the dialog, the "%20" disappear and
when I go to resave I get an error. This is possibly related to [5].

The following set of screen captures demonstrates the issue:

[1] URL has been entered with escape characters and was saved with no error.
http://old.nabble.com/file/p32229220/Step1.png

[2] Edit External dialog has been opened to edit the URL.
http://old.nabble.com/file/p32229220/Step2.png

[3]Edit External dialog has been closed. URL-encoded characters have been
replaced with whitespace.
http://old.nabble.com/file/p32229220/Step3.png

[4] OK was selected from the svn:externals dialog. Error is issued.
http://old.nabble.com/file/p32229220/Step4.png

[5]
http://old.nabble.com/Quotes-are-not-preserved-in-Local-Path-of-svn%3Aexternals-after-saving-dialog-td31009016.html

The workaround is to re-add the URL encoded characters every time the Edit
Externals dialog is opened and OK pressed to save an edited external.

-- 
View this message in context: http://old.nabble.com/Whitespace-is-not-escaped-in-URL-for-svn%3Aexternals%2C-and-URL-encoded-characters-are-replaced-with-whitespace-tp32229220p32229220.html
Sent from the tortoisesvn - dev mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2813182
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-09 22:04:22 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.