Actions
Bug #15177
closedInternal Server Error: https://workbench.xxx/themes/curoverse/images/etc/passwd
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-
Description
Anything rooted at /curoverse/images/... which doesn't resolve generates a 500 instead of a 404.
Updated by Lucas Di Pentima over 5 years ago
Ran a local instance of workbench and confirmed that seems to be an issue with the themes_for_rails
gem:
{"method":"GET","path":"/themes/curoverse/images/etc/passwd","format":"html","controller":"ThemesForRails::AssetsController","action":"images","status":500,"error":"SystemStackError: stack level too deep","duration":631.13,"view":0.0,"db":0.0,"request_id":null,"params":{"theme":"curoverse","asset":"etc/passwd"},"@timestamp":"2019-05-01T16:23:44.827Z","@version":"1","message":"[500] GET /themes/curoverse/images/etc/passwd (ThemesForRails::AssetsController#images)"} SystemStackError (stack level too deep): vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails.rb:8:in `config' vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/interpolation.rb:6:in `interpolate' vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/common_methods.rb:63:in `theme_asset_path_for' vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:43:in `asset_path' vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:31:in `find_themed_asset' vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:36:in `find_themed_asset' vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:36:in `find_themed_asset' vendor/cache/themes_for_rails-61154877047d/lib/themes_for_rails/assets_controller.rb:36:in `find_themed_asset' ...
We're using a fork of the gem as the project was abandoned some years ago.
Updated by Lucas Di Pentima over 5 years ago
- Related to Bug #15176: Update AngularJS to a supported version added
Updated by Lucas Di Pentima over 5 years ago
This may be needed to be done at the same time as #15176
Updated by Peter Amstutz about 5 years ago
- Target version deleted (
To Be Groomed) - Status changed from New to Closed
Actions