zk1931/pulsed — pull request #35 by EasonLiao (2014-12-07 18:26:48+00:00)
Title: leave url-encoded string as is

otherwise path might get corrupted when constructing response

```
% curl http://localhost:10000/%00 -XPUT -d test -v
> PUT /%00 HTTP/1.1
> User-Agent: curl/7.32.0
> Host: localhost:10000
> Accept: */*
> Content-Length: 4
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 200 OK
< Date: Sun, 07 Dec 2014 05:17:04 GMT
< version: 1
< type: file
< path: /
< checksum: 582409e9
< Content-Type: text/html
< Content-Length: 0
< Server: Jetty(9.2.z-SNAPSHOT)

% curl http://localhost:10000/%00 -v
> GET /%00 HTTP/1.1
> User-Agent: curl/7.32.0
> Host: localhost:10000
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Sun, 07 Dec 2014 05:17:51 GMT
< version: 1
< type: file
< path: /
< checksum: 582409e9
< Content-Length: 4
< Server: Jetty(9.2.z-SNAPSHOT)
<
test

% curl http://localhost:10000/ -v
> GET / HTTP/1.1
> User-Agent: curl/7.32.0
> Host: localhost:10000
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Sun, 07 Dec 2014 05:18:11 GMT
< version: 5
< type: directory
< path: /
< checksum: 3075045d
< Content-Length: 514
< Server: Jetty(9.2.z-SNAPSHOT)
<
{
"version": 5,
"path": "/",
"sessionID": -1,
"type": "dir",
"checksum": "3075045d",
"children": [
{
"version": 1,
"path": "/\u0000",
"sessionID": -1,
"type": "file",
"checksum": "582409e9"
}
]
}
```