Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Filter Audit Log Wrong URL #4201

Closed
c0shea opened this issue Apr 26, 2023 · 1 comment
Closed

No Filter Audit Log Wrong URL #4201

c0shea opened this issue Apr 26, 2023 · 1 comment
Labels
Milestone

Comments

@c0shea
Copy link
Contributor

c0shea commented Apr 26, 2023

Describe the Bug

The URL that is redirected to when you select the No Filter option on the audit log page is wrong and doesn't keep the base path defined where BookStack is hosted.

Steps to Reproduce

Once you're on the Audit Log page if you change the Event Filter to something other than No Filter, such as page_create, the page works as expected. However, once you have a filter selected and then change it to No Filter, it redirects you to the wrong URL. It goes to /settings/audit at the root of the host rather than using the base defined in the APP_URL in the .env.

image

Selecting any other filter once you have a filter selected works and has the right URL.
image

Expected Behaviour

The URL for No Filter should keep the base URL, which in my case is /BookStack before /settings/audit

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v23.02.3

PHP Version

8.2.3

Hosting Environment

IIS running on Windows Server 2012 R2

@ssddanbrown ssddanbrown added this to the Next Feature Release milestone Apr 26, 2023
@ssddanbrown
Copy link
Member

Can confirm, thanks @c0shea for reporting. Have assigned to the next feature release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants