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

Anonymous access to content stopped working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:

      Description

      Looking at SLING-7636 and especially the AnonymousAccessTest shows that anonymous access stopped working. The following scenario works with the sling10 jar but not with the current trunk:

      curl -u admin:admin -Ftitle=test http://localhost:8080/tmp/test1234
      curl -u admin:admin http://localhost:8080/tmp/test1234.json
      curl http://localhost:8080/tmp/test1234.tidy.json
      

      With sling10 the last request gets content, while with the current trunk it gets a 404.

      I'll attach the logs of that last request on both versions.

        Attachments

        1. sling10-get-request.txt
          21 kB
          Bertrand Delacretaz
        2. trunk-get-request.txt
          42 kB
          Bertrand Delacretaz

          Issue Links

            Activity

              People

              • Assignee:
                bdelacretaz Bertrand Delacretaz
                Reporter:
                bdelacretaz Bertrand Delacretaz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: