[ 
https://issues.apache.org/jira/browse/CLEREZZA-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837355#action_12837355
 ] 

Hasan commented on CLEREZZA-129:
--------------------------------

#TemplateEncoder
line 214 onwards in TemplateEncoder
                        if (dontNeedEncoding.get(c)) {
                                if (c == ' ') {
                                        c = '+';
                                        needToChange = true;
                                }
                                // System.out.println("Storing: " + c);
                                out.append((char) c);
                                i++;

Having removed dontNeedEncoding.set(' ');
line 215 won't ever evaluated to true.

#JaxRsHandler
- unused imports

# FormParamTest
- unused imports



> org.apache.clerezza.triaxrs: resource and resource method paths have to be 
> encoded.
> -----------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-129
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-129
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> JAX-RS specification Version 1.1 page 14: 
> The value of the annotation is automatically encoded, e.g. the following two 
> lines are equivalent:
> 1    @Path("widget list/{id}")
> 2    @Path("widget%20list/{id}")
> This is not the case in Triaxrs at the moment.
> In this issue I also added a test that tests if the FormParam is encoded 
> correctly.

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

Reply via email to