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 - Autoupdate module sends incorrect pkgname to the UC server
Summary: Autoupdate module sends incorrect pkgname to the UC server
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: akemr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-13 12:45 UTC by Antonin Nebuzelsky
Modified: 2003-06-30 13:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Diff of my fix. (1.55 KB, text/plain)
2001-11-13 12:49 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
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.