Pita/etherpad-lite — Issue #367: Suggestion and discussion: nice pad urls without the "/p" part (service urls remain unchanged)
Author: Wikinaut
Created: 2012-01-28 15:14:31+00:00
State: open

I suggest to slightly modify the server.js module, so that urls of the form /padname (where padname is different from the few other service urls as used by etherpad-lite, see list below) can be used as an alternative to /p/padname which will remain working.

When having the proposed method applied, padnames beginning with one of the following strings are not allowed any more:
/static/
/socket.io/
/ep/
/minified/
/api/
/ro/
/error/
/jserror
/favicon.ico
/robots.txt

If users want to use such padnames, they can still use the canonical form, e.g. /p/favicon.ico to work with such a pad as before.

Please let me know if you want me to post a corresponding patch, and a pull request. I regard call this a convenience patch which makes the pad urls nicer.

I am looking forward to your answers.