Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Is request parameter encoding working like intended in 5.4?

$
0
0
Hi,

I'm seeing some weird query parameter behavior in a component where I have
a node with the following id: /1000082

A link generated with:

@Component( parameters = { "event=opencloseclick","parameters={'t:nodeId':
row.id}", "zone=^" } )
private EventLink openCloseLink;

To the following handler method:

public void onOpenCloseClick( @RequestParameter( "t:nodeId" ) String ss )

TreeNode node = treeModel.getById( ss );
...

Results in the following when the link is clicked:

Could not locate TreeNode '$002f1000082'

The '/' has been encoded to $002f, but not decoded again when accessing it
in the handler. Is this expected behavior or a bug?

Viewing all articles
Browse latest Browse all 5648

Trending Articles