⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Foreman
All Projects
Overview
Activity
Roadmap
Issues
Wiki
Repository
«
Previous
|
Next
»
Revision 50ebc024
Added by
David Davis
almost 10 years
ago
ID
50ebc024bd5b13b490c41f2b3e5e0c489e7f892b
Parent
d2823e35
Child
e09d72ee
Fixes
#6446
- Forbidding non-json POST/PUT requests in v2
Related issues
Bug #6446
: We need to either support non-json requests or show an error when a user submits other content types.
Changes
View differences
added
modified
copied
renamed
deleted
app
controllers
api
v2
base_controller.rb
(
diff
)
views
api
v2
errors
unsupported_content_type.json.rabl
config
routes
test.rb
(
diff
)
test
functional
api
v2
base_controller_subclass_test.rb
lib
foreman
access_permissions_test.rb
(
diff
)
test_helper.rb
(
diff
)
Loading...
Fixes #6446 - Forbidding non-json POST/PUT requests in v2