You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "David Hay (JIRA)" <ji...@apache.org> on 2006/08/10 22:46:13 UTC
[jira] Created: (PLUTO-247) PortalURLParser: Avoid putting '?' and
'&' characters in query string if unnecessary
PortalURLParser: Avoid putting '?' and '&' characters in query string if unnecessary
------------------------------------------------------------------------------------
Key: PLUTO-247
URL: http://issues.apache.org/jira/browse/PLUTO-247
Project: Pluto
Issue Type: Improvement
Components: portal driver
Affects Versions: 1.1.0-beta1
Reporter: David Hay
Priority: Trivial
When building the query string in PortalURLParser, the URL ends up containing a '?' character, whether there's a query string or not (e.g. http://host/path/?) While not incorrect, it doesn't look very nice.
A similar problem exists for query parameters. The query string always starts with an '&' character. (e.g. http://host/path/?¶m=value)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (PLUTO-247) PortalURLParser: Avoid putting '?' and
'&' characters in query string if unnecessary
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-247?page=all ]
Carsten Ziegeler reassigned PLUTO-247:
--------------------------------------
Assignee: Carsten Ziegeler
> PortalURLParser: Avoid putting '?' and '&' characters in query string if unnecessary
> ------------------------------------------------------------------------------------
>
> Key: PLUTO-247
> URL: http://issues.apache.org/jira/browse/PLUTO-247
> Project: Pluto
> Issue Type: Improvement
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: Carsten Ziegeler
> Priority: Trivial
> Fix For: 1.1.0
>
>
> When building the query string in PortalURLParser, the URL ends up containing a '?' character, whether there's a query string or not (e.g. http://host/path/?) While not incorrect, it doesn't look very nice.
> A similar problem exists for query parameters. The query string always starts with an '&' character. (e.g. http://host/path/?¶m=value)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (PLUTO-247) PortalURLParser: Avoid putting '?' and
'&' characters in query string if unnecessary
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PLUTO-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed PLUTO-247.
----------------------------------
> PortalURLParser: Avoid putting '?' and '&' characters in query string if unnecessary
> ------------------------------------------------------------------------------------
>
> Key: PLUTO-247
> URL: https://issues.apache.org/jira/browse/PLUTO-247
> Project: Pluto
> Issue Type: Improvement
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: Carsten Ziegeler
> Priority: Trivial
> Fix For: 1.1.0
>
>
> When building the query string in PortalURLParser, the URL ends up containing a '?' character, whether there's a query string or not (e.g. http://host/path/?) While not incorrect, it doesn't look very nice.
> A similar problem exists for query parameters. The query string always starts with an '&' character. (e.g. http://host/path/?¶m=value)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PLUTO-247) PortalURLParser: Avoid putting '?'
and '&' characters in query string if unnecessary
Posted by "David Hay (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-247?page=comments#action_12432853 ]
David Hay commented on PLUTO-247:
---------------------------------
I apparently didn't have enough nits to pick ;-)
I happened to find this because we have some javascript code that assumed that the base URL was free of query parameters and always appended a "?" character to the URL. When we moved that code into a portlet, of course it stopped working becuase the "?" was already there.
I realize that the problem was really with our code (which has been fixed) so this is really just a cosmetic fix, rather than a functional one.
> PortalURLParser: Avoid putting '?' and '&' characters in query string if unnecessary
> ------------------------------------------------------------------------------------
>
> Key: PLUTO-247
> URL: http://issues.apache.org/jira/browse/PLUTO-247
> Project: Pluto
> Issue Type: Improvement
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: David DeWolf
> Priority: Trivial
> Fix For: 1.1.0
>
>
> When building the query string in PortalURLParser, the URL ends up containing a '?' character, whether there's a query string or not (e.g. http://host/path/?) While not incorrect, it doesn't look very nice.
> A similar problem exists for query parameters. The query string always starts with an '&' character. (e.g. http://host/path/?¶m=value)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (PLUTO-247) PortalURLParser: Avoid putting '?' and
'&' characters in query string if unnecessary
Posted by "David DeWolf (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-247?page=all ]
David DeWolf updated PLUTO-247:
-------------------------------
Fix Version/s: 1.1.0
Assignee: David DeWolf
picky, picky, picky. . .ok, just kidding. . .fair enough
> PortalURLParser: Avoid putting '?' and '&' characters in query string if unnecessary
> ------------------------------------------------------------------------------------
>
> Key: PLUTO-247
> URL: http://issues.apache.org/jira/browse/PLUTO-247
> Project: Pluto
> Issue Type: Improvement
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: David DeWolf
> Priority: Trivial
> Fix For: 1.1.0
>
>
> When building the query string in PortalURLParser, the URL ends up containing a '?' character, whether there's a query string or not (e.g. http://host/path/?) While not incorrect, it doesn't look very nice.
> A similar problem exists for query parameters. The query string always starts with an '&' character. (e.g. http://host/path/?¶m=value)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (PLUTO-247) PortalURLParser: Avoid putting '?' and
'&' characters in query string if unnecessary
Posted by "David DeWolf (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-247?page=all ]
David DeWolf reassigned PLUTO-247:
----------------------------------
Assignee: (was: David DeWolf)
> PortalURLParser: Avoid putting '?' and '&' characters in query string if unnecessary
> ------------------------------------------------------------------------------------
>
> Key: PLUTO-247
> URL: http://issues.apache.org/jira/browse/PLUTO-247
> Project: Pluto
> Issue Type: Improvement
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Priority: Trivial
> Fix For: 1.1.0
>
>
> When building the query string in PortalURLParser, the URL ends up containing a '?' character, whether there's a query string or not (e.g. http://host/path/?) While not incorrect, it doesn't look very nice.
> A similar problem exists for query parameters. The query string always starts with an '&' character. (e.g. http://host/path/?¶m=value)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (PLUTO-247) PortalURLParser: Avoid putting '?' and
'&' characters in query string if unnecessary
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-247?page=all ]
Carsten Ziegeler resolved PLUTO-247.
------------------------------------
Resolution: Fixed
The problem should be fixed now.
Can you please cross-check and then close this bug?
> PortalURLParser: Avoid putting '?' and '&' characters in query string if unnecessary
> ------------------------------------------------------------------------------------
>
> Key: PLUTO-247
> URL: http://issues.apache.org/jira/browse/PLUTO-247
> Project: Pluto
> Issue Type: Improvement
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: Carsten Ziegeler
> Priority: Trivial
> Fix For: 1.1.0
>
>
> When building the query string in PortalURLParser, the URL ends up containing a '?' character, whether there's a query string or not (e.g. http://host/path/?) While not incorrect, it doesn't look very nice.
> A similar problem exists for query parameters. The query string always starts with an '&' character. (e.g. http://host/path/?¶m=value)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira