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

Fix .htaccess rewrite #964

Merged
merged 1 commit into from
Sep 30, 2023
Merged

Fix .htaccess rewrite #964

merged 1 commit into from
Sep 30, 2023

Conversation

intergalacticmonkey
Copy link
Contributor

When using recent versions of Apache and the provided .htaccess file (with "Nice URLs" enabled in Shimmie), you get 403 Forbidden when attempting to navigate to a URL containing spaces, e.g. http://<shimmie>/post/list/tag1%20tag2/1.

Apache's error log shows:

AH10411: Rewritten query string contains control characters or spaces

We fix this by adding B and BNP, as per here.

@JamesTheSergal
Copy link
Contributor

Relates to #904

@shish
Copy link
Owner

shish commented Sep 30, 2023

I don't have an apache server to test with, but this seems sensible from the documentation, thank you <3

@shish shish merged commit f99f287 into shish:main Sep 30, 2023
8 checks passed
@intergalacticmonkey intergalacticmonkey deleted the patch-1 branch September 30, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants