This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240853 - subversion encodes URLs twice
Summary: subversion encodes URLs twice
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 01:58 UTC by fjinb
Modified: 2014-01-26 02:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE 日志 (63.36 KB, text/plain)
2014-01-23 01:59 UTC, fjinb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fjinb 2014-01-23 01:58:56 UTC
Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Comment 1 fjinb 2014-01-23 01:59:07 UTC
Created attachment 144275 [details]
IDE 日志
Comment 2 Ondrej Vrabec 2014-01-23 10:35:43 UTC
What Subversion bug? Please follow http://wiki.netbeans.org/IssueReportingGuidelines (namely point #10). From the messages.log i can only guess bug #237232 could be what you're actually looking for, but i cannot be sure.
Comment 3 fjinb 2014-01-23 16:16:25 UTC
error:Unable to connect to a repository at URL 'https://124.172.159.87/svn/GZIDC%25E6%2596%25B0%25E4%25B8%25BB%25E6%258E%25A7%25E5%25BC%2580%25E5%258F%2591%25E7%2589%2588

In my case, the URL contains chinese characters, so it's encoded. The URL should be encoded as follow:
https://124.172.159.87/svn/GZIDC%E6%96%B0%E4%B8%BB%E6%8E%A7%E5%BC%80%E5%8F%91%E7%89%88

But it is encoded second time. (%E6 -> %25%E6)
Comment 4 Ondrej Vrabec 2014-01-24 11:56:44 UTC
fixed: core-main #35c651e86a44
Comment 5 Quality Engineering 2014-01-26 02:17:11 UTC
Integrated into 'main-silver', will be available in build *201401260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/35c651e86a44
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #240853 - subversion encodes URLs twice
SVNUrl implementation started encoding return value of toString method and NetBeans then encoded it again.