Pita/etherpad-lite — Issue #215: Change spaces or %20 in padnames to underscores, and back to space when showing as page title
Author: Wikinaut
Created: 2011-11-19 10:10:48+00:00
State: open

Change spaces (in user-entered padnames or urls) to underscore characters, and vice versa when showing as page title /pad2.js, timeslider.html).

This avoids breaking urls when saving or e-mailing them, if the user has spaces in padnames.

Example: a pad name such as "My first pad" or My%20first%20pad" is to be rewritten as "My_first_pad". Both versions are internally treated as My_first_pad only.

1. http://www.example.com/p/My first%20pad ==> treat internally as http://www.example.com/p/My_first_pad .
2. when pad is shown, show HTML page title as "My first pad"