Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11749

resource resolver: document URL patterns in vanity paths and add test coverage

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • ResourceResolver
    • None

    Description

      MapEntries (in "private String[] getVanityPathDefinition(final String pVanityPath)") currently attempts to detect URL-shaped paths, and rewrite them to a prefix.

      There are several issues here:

      1. there doesn't seem to be any concrete documentation about this
      2. apparently there is no test coverage - removing that code causes no test failures
      3. it's unclear whether not replacing an empty string by "/" is intentional

      Attachments

        Activity

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 50m
                3h 50m