(Bug) Small inconsistency in navigation
Author: raunkeCreated Sep 1, 2026Updated Sep 2, 2026
Labelsbug
Description
The navigation bar and "back to tools" button behave differently in different tools if BASE_URL is set.
- Clicking on the navigation bar logo/text on the top left correctly navigates to
domain.tld/BASE_URLin all tool pages, except for
pdf-multi-tool.html- The main landing site / tool selection screen
On all tools, the corresponding html is
<span id="nav-brand" class="text-white font-bold text-xl ml-2">
<a href="/BASE_URL/">Branding</a>
</span>But for example in pdf-multi-tool.html, it is
<a href="/">Branding</a> [[missing "/BASE_URL/"]]- Clicking on the "Back to tools" button correctly navigates back to
domain.tld/BASE_URL, but sometimes only todomain.tld. Incorrect navigation todomain.tldoccurs in
deskew-pdf.htmlremove-annotations.htmlform-filler.htmlremove-blank-pages.htmlmarkdown-to-pdf.htmlwhile all (or at lost most) other tools correctly navigate todomain.tld/BASE_URL.
Steps to Reproduce
Use docker to build a bentopdf instance with the latest dockerfile:
# compose.yaml
services:
bentopdf
build:
context: "https://github.com/alam00000/bentopdf.git#main"
dockerfile: Dockerfile
args:
SIMPLE_MODE: "true"
BASE_URL: "/BASE_URL/"
SITE_URL: "https://domain.tld"
VITE_BRAND_NAME: "Branding"docker compose up --buildConsole Logs
No errors to reportSample PDF or File
No pdf files involved
Browser
Firefox
Browser Version
154.0.1
Operating System
Windows
BentoPDF Version
2.8.8
Additional Context
No response
Pre-submission Checklist
- I have included console logs from the browser DevTools
- I have attached a sample file or described how to reproduce the issue
- I have searched existing issues to ensure this is not a duplicate
Source: alam00000/bentopdf