You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Michael Elman (JIRA)" <ji...@apache.org> on 2009/07/05 14:16:14 UTC

[jira] Commented: (WINK-38) @Encoded parameter ignored on method

    [ https://issues.apache.org/jira/browse/WINK-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727321#action_12727321 ] 

Michael Elman commented on WINK-38:
-----------------------------------

I think your patch won't cover all the cases... For example it will ignore the @Encoded on the class.
I'll work on the fix using the metadata and metadata collectors.

> @Encoded parameter ignored on method
> ------------------------------------
>
>                 Key: WINK-38
>                 URL: https://issues.apache.org/jira/browse/WINK-38
>             Project: Wink
>          Issue Type: Bug
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Jesse Ramos
>            Priority: Minor
>         Attachments: WINK-38-patch.txt
>
>
> The @Encoded method is not honored when used on a method.
> Ex:
>     @GET
>     @Encoded
>     @Path("method/city")
>     public String getShopInCityMethod(@QueryParam("location") String location)
> In this case, the query parameter is not encoded.  According to the JSR 311 javadoc, annotating a method with this should disable automatic decoding for all parameters.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.