You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Carlin Rogers (JIRA)" <be...@incubator.apache.org> on 2005/08/11 21:58:54 UTC
[jira] Updated: (BEEHIVE-880) Remove trailing '?' from URLTemplate.format(true)
[ http://issues.apache.org/jira/browse/BEEHIVE-880?page=all ]
Carlin Rogers updated BEEHIVE-880:
----------------------------------
Attachment: j880-patch.txt
This patch modifies the URLTemplate class to do a final check and remove a trailing '?' from the
URL before returning from the format method. Also added a test for this condition in the junit test.
> Remove trailing '?' from URLTemplate.format(true)
> -------------------------------------------------
>
> Key: BEEHIVE-880
> URL: http://issues.apache.org/jira/browse/BEEHIVE-880
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: v1m1
> Reporter: Carlin Rogers
> Assignee: Carlin Rogers
> Priority: Minor
> Fix For: V1
> Attachments: j880-patch.txt
>
> URLTemplate.format(true) leaves a trailing "?" in the following case when the last token
> (url:queryString) is left unset. Technically speaking this should not matter, but some apps
> break if they are relying on query strings, but not checking zero length query strings.
--
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