Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-380

Describe URL and original URL terms as they are used in Magnolia API

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Critical
    • short term
    • None
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ruths Ruth Stocks
                ochytil Ondrej Chytil
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoR