vidibus-xss 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/vidibus/xss/extensions/controller.rb +1 -1
- data/vidibus-xss.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.10
|
@@ -87,7 +87,7 @@ module Vidibus
|
|
87
87
|
# For more information, see: https://developer.mozilla.org/En/HTTP_access_control
|
88
88
|
def xss_access_control_headers
|
89
89
|
headers["Access-Control-Allow-Origin"] = xss_client if xss_client
|
90
|
-
headers["Access-Control-Allow-Methods"] = "GET,PUT,POST,OPTIONS"
|
90
|
+
headers["Access-Control-Allow-Methods"] = "GET,PUT,POST,DELETE,HEAD,OPTIONS"
|
91
91
|
headers["Access-Control-Allow-Headers"] = "Content-Type,Depth,User-Agent,X-File-Size,X-Requested-With,If-Modified-Since,X-File-Name,Cache-Control"
|
92
92
|
headers["Access-Control-Allow-Credentials"] = "true"
|
93
93
|
headers["Access-Control-Max-Age"] = "1728000" # Cache this response for 20 days.
|
data/vidibus-xss.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vidibus-xss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 10
|
10
|
+
version: 0.1.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andre Pankratz
|