Skip to content

Assets and redirects break if Bugs is placed in subfolder of document root #4

@johannesalbert

Description

@johannesalbert

If Bugs is installed in a subfolder/basedir of a host's document root (eg. http://www.example.com/applications/bugs), then:

  1. some assets (Bugs icon, favicon) disappear and
  2. many of the server-side redirects (eg. after login, issue creation etc.) stop working (404).
  1. is easily fixed by use of URL::to_asset() in login.php and header.php.
  2. requires a thorough look at how the redirect urls are built... Example: login.php currently uses Symfony's Request::getRequestUri() instead of the more application-aware (and probably correct) URI::current().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions