Bug #54973

mod_rewrite doesnt allow uppercase characters for the session id

Added by Julian Kleinhans almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Must have
Category:
Core
Target version:
-
Start date:
2014-01-14
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:

Description

The usage of the SecurityPublishingConfiguration in combination with the fluid resource viewhelper generates a link which includes the users sessions id. This session id includes uppercase characters. The mod_rewrite rule for this private resources doesnt allow uppercase characters for the session id, so the user gets a 404.

Example:

$myNewResource->getOriginalResource()->setPublishingConfiguration($this->resourceService->getSecurityPublishingConfiguration());

And now use the fluid resource viewhelper.
The output looks like this

http://domain.com/_Resources/Persistent/5I69ZCdxva2uQvHUPYaq00whI1XyD8UQ/Kj187.Core:Editor/c37d1ae0234ad14be3cc05d2657784944eed492e/test.png

Also available in: Atom PDF