Skip to content

PrettyURLs Fix#840

Merged
Fraenkiman merged 1 commit intoflatpressblog:masterfrom
Fraenkiman:PrettyURLs-Fix
Mar 10, 2026
Merged

PrettyURLs Fix#840
Fraenkiman merged 1 commit intoflatpressblog:masterfrom
Fraenkiman:PrettyURLs-Fix

Conversation

@Fraenkiman
Copy link
Collaborator

  • The effective URL mode was also derived from the current request environment when calling contact.php and search.php. However, this is incorrect because these scripts are not rewritten blog routes. The error must have already crept into RC1.
  • The effect was that the URLs of widgets reverted to HTTP Get despite forced Pretty mode.
  • Automatic mode on non-index scripts (contact.php, search.php, etc.) now uses preview detection for a normal blog index call instead of the current helper script request.

- The effective URL mode was also derived from the current request environment when calling contact.php and search.php. However, this is incorrect because these scripts are not rewritten blog routes. The error must have already crept into RC1.
- The effect was that the URLs of widgets reverted to HTTP Get despite forced Pretty mode.
- Automatic mode on non-index scripts (contact.php, search.php, etc.) now uses preview detection for a normal blog index call instead of the current helper script request.
@Fraenkiman Fraenkiman merged commit f814293 into flatpressblog:master Mar 10, 2026
3 checks passed
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.

1 participant