Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2676

NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location"

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 3.3.1.Final
    • 3.3.0.Final
    • Java EE
    • None

    Description

      NewCrossOriginResourceSharingFilter should contain a "Access-Control-Expose-Headers" for "Location" by default or it should be possible to add it when calling the CORS command.

      This is how I worked around it in the NewCrossOriginResourceSharingFilter.java filer :

      response.getHeaders()
      		.putSingle("Access-Control-Expose-Headers",
      				"Location");
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            sebastienblanc Sebastien Blanc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: