Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2375

Change in behavior with removal of 'test' namespace

    XMLWordPrintable

    Details

    • Sprint:
      Sprint 2016 - 18

      Description

      With Fedora 4.7.0, when I do a HEAD request on a non-existent repository URI with an invalid namespace, I get a 404:

      $ curl -I http://localhost:8080/rest/invalid:foo
      HTTP/1.1 400 Bad Request
      Date: Thu, 22 Dec 2016 19:14:39 GMT
      Content-Type: text/plain
      Content-Length: 38
      Server: Jetty(9.2.3.v20140905)

      (An error about the invalid namespace prefix is logged to the server log, but not displayed to the user in any way).

      With 4.7.1-RC-1, I get a 400 Bad Request:

      $ curl -I http://localhost:8080/rest/invalid:foo
      HTTP/1.1 400 Bad Request
      Date: Thu, 22 Dec 2016 19:15:53 GMT
      Content-Type: text/plain
      Content-Length: 38
      Server: Jetty(9.2.3.v20140905)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              esc Esmé Cowles
              Reporter:
              esc Esmé Cowles
              Reviewer:
              Andrew Woods
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: