Skip to content

Change spaces or %20 in padnames to underscores, and back to space when showing as page title #215

@Wikinaut

Description

@Wikinaut

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"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions