Mod-rewrite url caching problem on 5.1.3

3 views
Skip to first unread message

Alexander Obuhovich

unread,
Apr 6, 2012, 3:22:24 PM4/6/12
to In-Portal Bugs
In-Portal parses each url on a front-end (when mod-rewrite is enabled) into a set of variables and stores them into cache.

However, when In-Portal encounters and url without theme/language specified (e.g. /english.html or /advanced.html) it:
  • produces a warning, that m_lang or m_theme variable is undefined
  • parsed url is cached without language/theme id specified resulting such cache not reset automatically on language/theme data change.


Ready for testing.


P.S.:
Attached patch is actually a copy-paste from 5.2.0, where this problem was fixed during large mod-rewrite system refactoring.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
warning_on_rewrite_url_caching_fix_513.patch

Dmitry A.

unread,
Apr 7, 2012, 11:40:06 AM4/7/12
to in-port...@googlegroups.com
Thanks for the patch!

DA
Reply all
Reply to author
Forward
0 new messages