-
-
Notifications
You must be signed in to change notification settings - Fork 203
Closed
Labels
defectSomething isn't workingSomething isn't workingp2Non-critical bugs, and features that help organizations to identify and reduce riskNon-critical bugs, and features that help organizations to identify and reduce risksize/SSmall effortSmall effort
Milestone
Description
Current Behavior
DepTrack: Docker Custom Composed
Frontend Vars:
- API_BASE_URL: "https://my-fancy-engineering-server.com/deptrack/api"
- BASE_PATH: "/deptrack/"
Served on an external NGINX under subroots:
- API: https://my-fancy-engineering-server.com/deptrack/api/
- Frontend: https://my-fancy-engineering-server.com/deptrack/
Frontend HTML base path entry: <html><head>...<base href="/deptrack/">...</head>...</html>
In the projects page, the links to the project have the BASE_PATH (or prefix) twice.
The URL linked is https://my-fancy-engineering-server.com/deptrack/deptrack/projects/some-uuid . There should be one "deptrack".
EDIT: Anchor HTML: <a href="/deptrack/projects/some-uuid">My Fancy Project</a>
Everything else seems to work, but I'm still getting to know the software.
Steps to Reproduce
- Login
- Open Projects Page
- Click on a project
- Get 404: https://my-fancy-engineering-server.com/deptrack/deptrack/projects/some-uuid
- Edit URL in address bar to remove one "deptrack/" -> https://my-fancy-engineering-server.com/deptrack/projects/some-uuid
- Project page loads
Expected Behavior
- Login
- Open Projects Page
- Click on a project
- Project page loads
Dependency-Track Frontend Version
4.13.2
Browser
Google Chrome
Browser Version
No response
Operating System
Windows
Checklist
- I have read and understand the contributing guidelines
- I have checked the existing issues for whether this defect was already reported
Metadata
Metadata
Assignees
Labels
defectSomething isn't workingSomething isn't workingp2Non-critical bugs, and features that help organizations to identify and reduce riskNon-critical bugs, and features that help organizations to identify and reduce risksize/SSmall effortSmall effort