Forum

Thread tagged as: Problem, Error, Configuration

URL action links in perch admin rewrites to lowercase

Hi

We've got set loginPath with some uppercase letters - '/restart-IT/perch'. But links in admin in action URL are lowerCase, but this cause a big problem, becouse our server is caseSensitive and our client needs to be restart-IT not restart-it.

Can you please help us with this problem?

Thanks

Pavol Krchnavy

Pavol Krchnavy 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Perch will convert all URLs to lowercase to prevent inconsistencies when moving a site between different systems (e.g. developing on Windows and deploying to Linux).

This can't be changed.

Thanks for information, is there any way to comment this strotolower line, or avoid this behavior? Becouse its a big problem for us.

Drew McLellan

Drew McLellan 2638 points
Perch Support

No, it can't be changed.

Hi we figured it out with custom JS in control panel, which take action URL and set it with uppercase letters. Thanks