sulu / SuluRedirectBundle

Sulu bundle for managing redirects
MIT License
18 stars 19 forks source link

Automatically add slash or validate input #8

Closed alexander-schranz closed 3 years ago

alexander-schranz commented 7 years ago
Q A
Bug? no
New Feature? no
Sulu Version 1.6.0-RC1
SuluRedirect Version 0.1.1

Actual Behavior

Currently you can create a redirect rule e.g. source test.html which is invalid as it can never map as the slash is required /test.html.

Expected Behavior

Automatically add the / when saving or writing the url or validate it in the frontend.

Steps to Reproduce

Create rule with source test.html.

Possible Solutions

See expected behavior.

niklasnatter commented 3 years ago

Will be fixed by https://github.com/sulu/SuluRedirectBundle/pull/53