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 17589

Summary: Autoupdate module sends incorrect pkgname to the UC server
Product: platform Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: AutoupdateAssignee: akemr <akemr>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Diff of my fix.

Description Antonin Nebuzelsky 2001-11-13 12:45:58 UTC
The fix for the issue #14049 (resp. issue #16398) corrects the following problem
of the URL encoding and modifies

   ...&osname=Windows 2000&...

to be

   ...&osname=Windows+2000&...

BUT the fix also causes

   ...&pkgname=org.netbeans.modules.editor%2F1

to be

   ...&pkgname=org.netbeans.modules.editor%252F1

The reason is that URLEncoder.encode() method changes "%" to "%25". NBM files
are therefore not found on the server and the user doesn't get them.

I am fixing it for {pilsenfixes} branch.
Comment 1 Antonin Nebuzelsky 2001-11-13 12:49:26 UTC
Created attachment 3381 [details]
Diff of my fix.
Comment 2 akemr 2001-11-13 13:13:34 UTC
Fixed in main trunk.

Tondo, thanks for the fix!
Comment 3 Jaromir Uhrik 2003-04-01 07:08:54 UTC
Verified
Comment 4 Quality Engineering 2003-06-30 13:51:40 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.