[
https://issues.apache.org/jira/browse/WICKET-3956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Retzlaff updated WICKET-3956:
---------------------------------
Description:
Whereas BookmarkablePageRequestTargetUrlCodingStrategy looks to both the
decoded parameters *and* the request parameters for an interface,
HybridUrlCodingStrategy does not. This means its MixedParam and Indexed
subclasses, for which not all parameters are encoded in the URL, get decoded
into HybridBookmarkablePageRequestTargets instead of
BookmarkableListenerInterfaceRequestTarget. In my application, this causes form
submits to break.
The attached patch modifies testStatelessHybridUrlCodingStrategy to use the
MixedParamHybridUrlCodingStrategy instead of HybridUrlCodingStrategy to
demonstrate the issue. It also includes a fix.
was:
Whereas BookmarkablePageRequestTargetUrlCodingStrategy looks to both the
decoded parameters *and* the request parameters for an interface,
HybridUrlCodingStrategy does not. This means its MixedParam and Indexed
subclasses, for which not all parameters are encoded in the URL, get decoded
into HybridBookmarkablePageRequestTargets instead of
BookmarkableListenerInterfaceRequestTarget. In my application, this causes form
submits to break.
The attached patch modifies testStatelessHybridUrlCodingStrategy to use the
MixedParamHybridUrlCodingStrategy instead of HybridUrlCodingStrategy to
demonstrate the issue.
> (Indexed|MixedParam)HybridUrlCodingStrategy ignore interface parameter
> ----------------------------------------------------------------------
>
> Key: WICKET-3956
> URL: https://issues.apache.org/jira/browse/WICKET-3956
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.4.18
> Reporter: Dan Retzlaff
> Attachments: wicket-3956.patch
>
>
> Whereas BookmarkablePageRequestTargetUrlCodingStrategy looks to both the
> decoded parameters *and* the request parameters for an interface,
> HybridUrlCodingStrategy does not. This means its MixedParam and Indexed
> subclasses, for which not all parameters are encoded in the URL, get decoded
> into HybridBookmarkablePageRequestTargets instead of
> BookmarkableListenerInterfaceRequestTarget. In my application, this causes
> form submits to break.
> The attached patch modifies testStatelessHybridUrlCodingStrategy to use the
> MixedParamHybridUrlCodingStrategy instead of HybridUrlCodingStrategy to
> demonstrate the issue. It also includes a fix.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira