You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/16 19:18:04 UTC

[jira] [Commented] (ISIS-797) 'Restful objects' decodes json request body while this is not

    [ https://issues.apache.org/jira/browse/ISIS-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063743#comment-14063743 ] 

ASF subversion and git services commented on ISIS-797:
------------------------------------------------------

Commit dc6b8ade634d7eb4e881603b3825eb54251142c8 in isis's branch refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=dc6b8ad ]

ISIS-797: only perform URL decoding for query strings, not for input stream bodies.

In addition:
- moved the RO TCK test module under TCK (since now part of core)
- extra actions for the various TCK *ValuedEntity for the various datatypes


> 'Restful objects' decodes json request body while this is not 
> --------------------------------------------------------------
>
>                 Key: ISIS-797
>                 URL: https://issues.apache.org/jira/browse/ISIS-797
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: RestfulObjects
>    Affects Versions: viewer-restfulobjects-2.2.0
>            Reporter: Erik de Hair
>            Assignee: Dan Haywood
>
> A json-string with a '++'-sign in a value fired at the restful objects viewer has the '++'-sign removed when calling action method.
> Example json:
> {"password":{"value":"abc+def"}}
> This string is directly put into the PUT request as body. The value in the action-method (called by the restful call) looks URL-decoded because the '+'-sign is replaced by a whitespace.



--
This message was sent by Atlassian JIRA
(v6.2#6252)