Pita/etherpad-lite — pull request #486 by fourplusone (2012-02-23 19:45:40+00:00)
Title: use relative path for redirects avoiding problems with reverse proxies

Since nginx doesn't rewrite `Location: ...` headers typing a padname like 'hello world' will result in a redirect to /p/hello_world instead of /pad/p/hello_world

You can reproduce this bug on factor.cc/pad:

`curl -v "https://factor.cc/pad/p/Hello%20World"`

Redirecting to `./sanetized_pad_name` instead of `/p/sanetized_pad_name` should fix this