Ticket #60 (accepted defect)
Include action doesn't work with case sensitive collation
| Reported by: | CyneBeald | Owned by: | JavaWoman |
|---|---|---|---|
| Priority: | high | Milestone: | 1.4 |
| Component: | actions | Version: | 1.1.6.0 |
| Severity: | normal | Keywords: | include action case-sensitive |
| Cc: | NilsLindenberg |
Description (last modified by JavaWoman) (diff)
The Include action internally converts the requested page name into lowercase. This works on servers where the collation of the database is set to a case insensitive variant (like cp1250_general_ci), but not when using a case sensitive collation (like cp1250_czech_cs).
This might have been motivated by security concerns - preventing a circular reference, because including a page in a CI database always works, no matter the capitalization (maybe another bug?), but the implementation is a bit buggy.
I believe this can be solved by appending the real page tag to the $this->configincludes? array ( retrieved as $pagetag? after LoadPage()), instead of the parameter passed to the include action.