Bug #15177

Internal Server Error: https://workbench.xxx/themes/curoverse/images/etc/passwd

Added by Tom Morris 5 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

Anything rooted at /curoverse/images/... which doesn't resolve generates a 500 instead of a 404.


Related issues

Related to Arvados - Bug #15176: Update AngularJS to a supported version New

History

#1 Updated by Lucas Di Pentima 5 months 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.

#2 Updated by Lucas Di Pentima 5 months ago

  • Related to Bug #15176: Update AngularJS to a supported version added

#3 Updated by Lucas Di Pentima 5 months ago

This may be needed to be done at the same time as #15176

Also available in: Atom PDF