← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1342079] [NEW] There are hard-coded '/static/' url prefix in CSS (SCSS) and JS files

 

Public bug reported:

Among the examples are:
https://github.com/openstack/horizon/blob/2014.2.b1/horizon/static/horizon/js/horizon.tables.js#L70
https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/dashboard/scss/_accordion_nav.scss#L17

This approach has the problem that if someone decides to serve static
files from an url different from '/static/...', he would surely catch
some 404 errors.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1342079

Title:
  There are hard-coded '/static/' url prefix in CSS (SCSS) and JS files

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Among the examples are:
  https://github.com/openstack/horizon/blob/2014.2.b1/horizon/static/horizon/js/horizon.tables.js#L70
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/dashboard/scss/_accordion_nav.scss#L17

  This approach has the problem that if someone decides to serve static
  files from an url different from '/static/...', he would surely catch
  some 404 errors.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1342079/+subscriptions


Follow ups

References