Merge branch 'master' of https://github.com/OWASP/railsgoat
This commit is contained in:
@@ -96,3 +96,6 @@ gem 'mailcatcher'
|
|||||||
# # bundle exec rake doc:rails generates the API under doc/api.
|
# # bundle exec rake doc:rails generates the API under doc/api.
|
||||||
# gem 'sdoc', require: false
|
# gem 'sdoc', require: false
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
#For Rails 4.2
|
||||||
|
gem 'responders'
|
||||||
|
|||||||
@@ -247,6 +247,8 @@ GEM
|
|||||||
rb-inotify (0.9.7)
|
rb-inotify (0.9.7)
|
||||||
ffi (>= 0.5.0)
|
ffi (>= 0.5.0)
|
||||||
ref (2.0.0)
|
ref (2.0.0)
|
||||||
|
responders (2.1.2)
|
||||||
|
railties (>= 4.2.0, < 5.1)
|
||||||
rspec (2.99.0)
|
rspec (2.99.0)
|
||||||
rspec-core (~> 2.99.0)
|
rspec-core (~> 2.99.0)
|
||||||
rspec-expectations (~> 2.99.0)
|
rspec-expectations (~> 2.99.0)
|
||||||
@@ -371,6 +373,7 @@ DEPENDENCIES
|
|||||||
rails (= 4.2.6)
|
rails (= 4.2.6)
|
||||||
rake (= 10.5.0)
|
rake (= 10.5.0)
|
||||||
rb-fsevent
|
rb-fsevent
|
||||||
|
responders
|
||||||
rspec-rails (= 2.99.0)
|
rspec-rails (= 2.99.0)
|
||||||
sass-rails
|
sass-rails
|
||||||
simplecov
|
simplecov
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
try {
|
try {
|
||||||
var hashParam = location.hash.split("#")[1];
|
var hashParam = location.hash.split("#")[1];
|
||||||
var paramName = hashParam.split('=')[0];
|
var paramName = hashParam.split('=')[0];
|
||||||
var paramValue = hashParam.split('=')[1];
|
var paramValue = decodeURIComponent(hashParam.split('=')[1]);
|
||||||
document.write("<OPTION value=3>" + paramValue + "</OPTION>");
|
document.write("<OPTION value=3>" + paramValue + "</OPTION>");
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user