Uncaught SecurityError : Failed to read the content

Create issue
Issue #30 new
Former user created an issue

I add my app the cors filter on web.xml.

But when i do upload pictures or txt it appears security error and says Blocked a frame with origin "localhost" from acessing a cross-origin frame.

attachments message in console

Comments (2)

  1. Nuno Frederiko

    Hi, ERROR header.png

    the browser chrome.

    Version cors filter is 2.4.jar.

    in my response is missing Access-Control-Allow-Headers is that why?

    Another test i made was i added <init-param> <param-name>cors.allowed.headers</param-name> <param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization</param-value> </init-param> but still is returning the same message.

    Cheers

  2. Log in to comment