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 97112

Summary: Ugly URLs
Product: updatecenters Reporter: Andrei Badea <abadea>
Component: PluginportalAssignee: David Botterill <dbotterill>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Andrei Badea 2007-03-02 15:37:49 UTC
I clicked on a plugin on the main page. The URL of the page that loaded was
something like:

http://plugins.netbeans.org/PluginPortal/faces/MainPage.jsp?form1:center_container:page_border:fixed_contentarea:fixed_contextbox:left_col:main_area1:topPluginsPanel:recentlyAddedPanel:j_id6_submittedField=form1:center_container:page_border:fixed_contentarea:fixed_contextbox:left_col:main_area1:topPluginsPanel:recentlyAddedPanel:j_id6#

I would have expected something nicer, perhaps in the REST style, like:

http://plugins.netbeans.org/plugins/42

Note this is related to issue 97111. If we want to allow people to link to
plugins, having reasonably-looking URLs should be a goal.
Comment 1 Andrei Badea 2007-03-06 19:17:56 UTC
While looking for a Firefox add-on I came across Mozilla's plugin portal. Their
links are like:

https://addons.mozilla.org/firefox/1122/

Similar simple links should be a must for our portal. Changing to defect.
Comment 2 David Botterill 2007-04-20 17:01:30 UTC
Changing to an enhancement.  Users now have a direct link to a plugin so the
"ugly" URL has no bearing on any functional deficiency.
Comment 3 David Botterill 2007-08-08 00:52:23 UTC
Most of the URLs are now "GET" style.
Comment 4 Andrei Badea 2007-08-09 09:52:52 UTC
Thanks. But FWIW, 

http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=42

is still quite uglier than what I suggested in desc1, i.e.,

http://plugins.netbeans.org/plugins/42

.