[DOCU-380] Describe URL and original URL terms as they are used in Magnolia API Created: 06/Feb/13  Updated: 03/Nov/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: short term

Type: Task Priority: Critical
Reporter: Ondrej Chytil Assignee: Ruth Stocks
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-4817 UrlPatternDelegate should provide way... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

In info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback and info.magnolia.cms.util.UrlPatternDelegate we expose possibility to check either URL (url, urlPattern) or original URL (originalUrlPattern, originalUrl). It should be documented what those terms mean in context of those classes.
URL - current request URL, decoded and without the context path
Original URL - original request URL, decoded and without the context path, not modified by any filter

Example (valid for EE as MultisiteFilter is removing first level node name from URL):
Browser request: http://demoauthor.magnolia-cms.com/demo-project/about.html
URL: /about.html - context path and first level node are removed
Original URL: /demo-project/about.html - just context path is removed



 Comments   
Comment by Ruth Stocks [ 17/Jul/13 ]

Documented at- http://wiki.magnolia-cms.com/display/DOCS45/Filters#Filters-Securitycallback - Apologies for the delay

Comment by Ruth Stocks [ 17/Jul/13 ]

reopened to document for Magnolia 5

Comment by Ruth Stocks [ 17/Jul/13 ]

Also documented at - http://wiki.magnolia-cms.com/display/DOCS/Filters

Generated at Mon Feb 12 01:08:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.