[production][] Invalid path parameters: Invalid encoding for parameter: devel:languages:php:php53++[+���������+]
danidoni opened this issue · comments
Dani Donisa commented
Invalid path parameters: Invalid encoding for parameter: devel:languages:php:php53++[+���������+]
Summary
URL
https://build.opensuse.org/project/show/devel:languages:php:php53++[+%C0%EA%F2%E8%E2%E0%F6%E8%FF+]"
Where
Occured
Jan 24 5:27pm
Similar
18
Params
{}
Session
{}
Backtrace
39: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/request/utils.rb -> **check_param_encoding**
34: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/request/utils.rb -> **block in check_param_encoding**
34: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/request/utils.rb -> **each_value**
34: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/request/utils.rb -> **check_param_encoding**
71: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/http/parameters.rb -> **path_parameters=**
48: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/journey/router.rb -> **block in serve**
32: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/journey/router.rb -> **each**
32: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/journey/router.rb -> **serve**
852: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/routing/route_set.rb -> **call**
72: /GEM_ROOT/gems/flipper-0.26.0/lib/flipper/middleware/memoizer.rb -> **memoized_call**
37: /GEM_ROOT/gems/flipper-0.26.0/lib/flipper/middleware/memoizer.rb -> **call**
15: config/initializers/prefer_xml_over_html.rb -> **call**
44: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/deflater.rb -> **call**
15: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/tempfile_reaper.rb -> **call**
27: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/etag.rb -> **call**
27: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/conditional_get.rb -> **call**
12: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/head.rb -> **call**
38: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/http/permissions_policy.rb -> **call**
36: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/http/content_security_policy.rb -> **call**
266: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/session/abstract/id.rb -> **context**
260: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/session/abstract/id.rb -> **call**
696: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/cookies.rb -> **call**
27: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/callbacks.rb -> **block in call**
99: /GEM_ROOT/gems/activesupport-7.0.4/lib/active_support/callbacks.rb -> **run_callbacks**
26: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/callbacks.rb -> **call**
32: /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/rack/middleware.rb -> **call!**
21: /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/rack/middleware.rb -> **call**
28: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/debug_exceptions.rb -> **call**
26: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
18: /GEM_ROOT/gems/lograge-0.12.0/lib/lograge/rails_ext/rack/logger.rb -> **call_app**
25: /GEM_ROOT/gems/railties-7.0.4/lib/rails/rack/logger.rb -> **block in call**
99: /GEM_ROOT/gems/activesupport-7.0.4/lib/active_support/tagged_logging.rb -> **block in tagged**
37: /GEM_ROOT/gems/activesupport-7.0.4/lib/active_support/tagged_logging.rb -> **tagged**
99: /GEM_ROOT/gems/activesupport-7.0.4/lib/active_support/tagged_logging.rb -> **tagged**
25: /GEM_ROOT/gems/railties-7.0.4/lib/rails/rack/logger.rb -> **call**
93: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/remote_ip.rb -> **call**
93: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/remote_ip.rb -> **call**
19: /GEM_ROOT/gems/request_store-1.5.1/lib/request_store/middleware.rb -> **call**
26: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/request_id.rb -> **call**
24: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/method_override.rb -> **call**
22: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/runtime.rb -> **call**
29: /GEM_ROOT/gems/activesupport-7.0.4/lib/active_support/cache/strategy/local_cache_middleware.rb -> **call**
14: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/executor.rb -> **call**
18: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/lock.rb -> **call**
110: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/sendfile.rb -> **call**
131: /GEM_ROOT/gems/actionpack-7.0.4/lib/action_dispatch/middleware/host_authorization.rb -> **call**
530: /GEM_ROOT/gems/railties-7.0.4/lib/rails/engine.rb -> **call**
226: /GEM_ROOT/gems/railties-7.0.4/lib/rails/railtie.rb -> **public_send**
226: /GEM_ROOT/gems/railties-7.0.4/lib/rails/railtie.rb -> **method_missing**
74: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/urlmap.rb -> **block in call**
58: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/urlmap.rb -> **each**
58: /GEM_ROOT/gems/rack-2.2.6.2/lib/rack/urlmap.rb -> **call**
107: /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb -> **process_request**
149: /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb -> **accept_and_process_next_request**
110: /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb -> **main_loop**
419: /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/request_handler.rb -> **block (3 levels) in start_threads**
113: /usr/lib64/ruby/gems/3.1.0/gems/passenger-6.0.14/src/ruby_supportlib/phusion_passenger/utils.rb -> **block in create_thread_and_abort_on_exception**
Environment
Key | Value |
---|---|
program_name | Passenger RubyApp: /srv/www/obs/api (production) |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/103.0.5060.134 Safari/537.36 |
Eduardo J. commented
Jacob Michalskie commented
But should it fail with an error or with a response that says that a parameter was wrong?
Dani Donisa commented
This should not fail, we can do nothing about it. So either it returns a 404 (Not found) or a 400 (Bad Request) so the client knows we are not accepting those characters.