You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/09/18 13:59:00 UTC

[GitHub] nickva opened a new issue #825: Allow urlencoded '+' characters in _scheduler/jobs/ field

nickva opened a new issue #825: Allow urlencoded '+' characters in _scheduler/jobs/<job_id> field
URL: https://github.com/apache/couchdb/issues/825
 
 
   Since replication IDs could have `+` characters in them (they might look like `2abc+create_target+continuous` for example), the ID has to be URL encoded when specified as part of a URI. Otherwise '+' signs will be decoded into spaces and on the server side it will look like `2abc create_target continuous`. 
   
   As a convenience it is possible to unambiguously accept both versions, and thus make URL encoding on the client optional. In other words, client could specify `2abc%2Bcreate_target%2Bcontinuous` or or `2abc+create_target+continuous`. On the server the former will be decoded as `2abc+create_target+continuous` and the latter - `2abc create_target continuous`. Then spaces can be turned into `+`-s since a replication ID generated by server will never have space characters in it.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services