Should not encode undecoded URLs

TortoiseSVN is great.
TortoiseSVN recognizes the HTML repository list returned by SVNListParentPath.
However, there is a problem with HTML processing.

Apache httpd.conf

<Location />
        DAV svn
        SVNParentPath "C:/svn"
        SVNListParentPath on
</Location>

I used multi-byte characters including Japanese for the repository.
C:\>svnadmin create テスト

WebDAV URL: http://localhost/テスト/
List URL(Not WebDAV): http://localhost/

TortoiseSVN -> Repo-browser
URL: http://localhost/

List URL(Not WebDAV) http://localhost/ returns HTML containing the encoded URL.
  
<li><a href="%e3%83%86%e3%82%b9%e3%83%88/">テスト/</a></li>

TortoiseSVN shows tree view (URL not decoded)
http://localhost
  - %e3%83%86%e3%82%b9%e3%83%88

Click %e3%83%86%e3%82%b9%e3%83%88 in the tree view.

> Unable to connect to a repository at URL
> 'http://localhost/%25e3%2583%2586%25e3%2582%25b9%25e3%2583%2588'
> Could not find the requested SVN filesystem

Why do you encode the URL?
Should not encode undecoded URLs.

<li><a href="%e3%83%86%e3%82%b9%e3%83%88/">テスト/</a></li>

The href value should not be encoded.
And the screen should display anchor text instead of href.

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/e49cdedc-4e05-4895-84d4-a6e636d2b628%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Should no... tortoisesvn+APn2wQfz_tXFoZwH82O8t7dETRqp1RC7hacwep0djuSHypakxDVa
    • Re: ... Stefan via TortoiseSVN
    • Re: ... 比留川亮 via TortoiseSVN
      • ... Stefan via TortoiseSVN
        • ... 比留川亮 via TortoiseSVN

Reply via email to