Update NEWS.md and fix one offense

pull/16305/head
cgonzalez 3 years ago
parent 81a13ed541
commit 8a7137ed02

@ -28,6 +28,7 @@ Development
- Fix subscription/sample filter for datasets [#16254](https://github.com/CartoDB/cartodb/pull/16254) - Fix subscription/sample filter for datasets [#16254](https://github.com/CartoDB/cartodb/pull/16254)
- Use fully qualified table name while creating a new map from a shared dataset [#16241](https://github.com/CartoDB/cartodb/pull/16241) - Use fully qualified table name while creating a new map from a shared dataset [#16241](https://github.com/CartoDB/cartodb/pull/16241)
- Add new events for DO full access [#16290](https://github.com/CartoDB/cartodb/pull/16290) - Add new events for DO full access [#16290](https://github.com/CartoDB/cartodb/pull/16290)
- Bump Rubocop to v1.12.1 to fix the CI hook [#16305](https://github.com/CartoDB/cartodb/pull/16305)
- Fix an issue that prevents API OPTIONS from succeeding because of undue CSRF check [#16292](https://github.com/CartoDB/cartodb/pull/16292) - Fix an issue that prevents API OPTIONS from succeeding because of undue CSRF check [#16292](https://github.com/CartoDB/cartodb/pull/16292)
- Fix a regression test and add some warnings to source code [#16297](https://github.com/CartoDB/cartodb/pull/16297) - Fix a regression test and add some warnings to source code [#16297](https://github.com/CartoDB/cartodb/pull/16297)

@ -39,7 +39,6 @@ class ApplicationController < ActionController::Base
IGNORE_PATHS_FOR_CHECK_USER_STATE = %w(unverified maintenance_mode lockout login logout unauthenticated multifactor_authentication).freeze IGNORE_PATHS_FOR_CHECK_USER_STATE = %w(unverified maintenance_mode lockout login logout unauthenticated multifactor_authentication).freeze
def self.ssl_required(*splat) def self.ssl_required(*splat)
this_is = "a test"
if Cartodb.config[:ssl_required] == true if Cartodb.config[:ssl_required] == true
if splat.any? if splat.any?
force_ssl only: splat force_ssl only: splat
@ -516,4 +515,5 @@ class ApplicationController < ActionController::Base
headers['X-XSS-Protection'] = '1; mode=block' headers['X-XSS-Protection'] = '1; mode=block'
headers['X-Content-Type-Options'] = 'nosniff' headers['X-Content-Type-Options'] = 'nosniff'
end end
end end

Loading…
Cancel
Save