sulu / SuluRedirectBundle

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

Case-Insensitive unique key #19

Closed wachterjohannes closed 5 years ago

wachterjohannes commented 6 years ago
Q A
Bug? no
New Feature? no
Sulu Version 0.1.3
SuluRedirect Version 1.6.6
Browser Version none

Actual Behavior

Currently the unique key for source is case insensitive (by mysql default). This leads into that the redirect for /test will also work for /Test and the import will only allow one of them (but redirect both).

This has impact on the following code snippets:

Expected Behavior

That should be discussed.

Possible Solutions

Do Nothing to keep case-insensitive unique-key or mark key as BINARY to make it case-sensitive.

alexander-schranz commented 5 years ago

@wachterjohannes As the rest of the sulu routing is case insensitive I will close this issue without any changes.