[MAGNOLIA-2899] Make ServletDispatchingFilter i18n aware Created: 14/Oct/09  Updated: 23/Jan/13  Resolved: 15/Oct/09

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 4.1.1
Fix Version/s: 4.2

Type: Bug Priority: Major
Reporter: Jan Haderka Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MAGNOLIA-2524 AggregationState.decodeURI is wrong -... Closed
relation
is related to MAGNOLIA-2835 Configure bundled Tomcat to use UTF-8... Closed
is related to MAGNOLIA-2115 The ServletDispatchingFilter doesn't ... Closed
is related to MGNLDMS-170 Make DMSDownloadServlet i18n aware Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When i18n is enabled and using DefaultI18nContentSupport localized links to content in DMS result in 404. The links created looks like (which seems correct):

/magnoliaAuthor/en_GB/dms/demo-project/downloads/Magnolia_Flyer_4-0/Magnolia%20Flyer%204.0.pdf
/magnoliaAuthor/en_GB/dms/demo-project/img/logos/magnolia-logo-print.gif
/magnoliaAuthor/en_GB/dms/demo-project/videos/magnolia_intro_480px.mov

It makes no difference whether locale is including the country code or not, the content from DMS still can't be retrieved.

The issue is caused by the ServletDispatchingFilter not being aware of possible i18n locale in the uri.


Generated at Mon Feb 12 03:41:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.