iainporter / oauth2-provider

Implementation of an oauth2 provider
Apache License 2.0
226 stars 181 forks source link

OPTIONS is repeated twice in SpringCrossOriginResourceSharingFilter #8

Closed chartrand22 closed 10 years ago

chartrand22 commented 10 years ago

line 28 of SpringCrossOriginResourceSharingFilter

is : response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE, OPTIONS");

should be : response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE");

iainporter commented 10 years ago

grrrr... careless.

Thanks for spotting.