Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize path #254

Open
tgressly opened this issue Jan 25, 2019 · 0 comments
Open

Normalize path #254

tgressly opened this issue Jan 25, 2019 · 0 comments

Comments

@tgressly
Copy link
Member

tgressly commented Jan 25, 2019

Improve URLs created from site titles containing special characters:

  1. convert characters like [:;-()] (Regex, and similar) to a single "-". Keep URL search-engine-friendly (retain umlauts)
  2. concatenate subsequent "-" chars into one single "-" (Do this step after step 1 to avoid duplicate "-" chars, remove trailing and leading dash
  3. Do not trunk long URLs

See also #255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants