You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/08/14 08:31:17 UTC
[jira] Resolved: (WICKET-1883) Refactor some constants in
WebRequestCodingStrategy
[ https://issues.apache.org/jira/browse/WICKET-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1883.
-----------------------------------
Assignee: Igor Vaynberg
Resolution: Invalid
this part of wicket has been rebuilt in 1.5
> Refactor some constants in WebRequestCodingStrategy
> ---------------------------------------------------
>
> Key: WICKET-1883
> URL: https://issues.apache.org/jira/browse/WICKET-1883
> Project: Wicket
> Issue Type: Wish
> Components: wicket
> Reporter: Kirill Balyasnikov
> Assignee: Igor Vaynberg
> Priority: Trivial
> Fix For: 1.5-M2
>
> Attachments: 1883-entire-interface.patch, 1883.patch
>
>
> I'm new to Wicket but as i see many people would like to hide the fact they are using the framework due to security reasons. At this time wicket expose some of it's internal structure via url's containing "wicket:", "interface" and others. These strings are declared constants in WebRequestCodingStrategy:
> public static final String NAME_SPACE = "wicket:";
> public static final String INTERFACE_PARAMETER_NAME = NAME_SPACE + "interface";
> public static final String BEHAVIOR_ID_PARAMETER_NAME = NAME_SPACE + "behaviorId";
> public static final String BOOKMARKABLE_PAGE_PARAMETER_NAME = NAME_SPACE + "bookmarkablePage";
> I propose to transform these constants to simple properties like:
> setNameSpace()
> setInterfaceParameterName()
> setBehaviorIdParameterName()
> As it seems to me such simple refactoring will not break backward compatibility with previous versions of Wicket.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.