Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add missing query string to the URI trailing slash redirect#523

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
joseluisq merged 1 commit intomasterfromadd-uri-query-trailing-slash-redirect
Feb 3, 2025

Conversation

joseluisq
Copy link
Collaborator

@joseluisqjoseluisq commentedFeb 3, 2025
edited
Loading

Description

This PR adds the missing query string to the URI when performing a trailing slash redirect only if the feature is enabled.

See feature:https://static-web-server.net/features/trailing-slash-redirect/.

Related Issue

Motivation and Context

How Has This Been Tested?

Before

$ curl -i"http://localhost:8787/assets?param=123"# HTTP/1.1 308 Permanent Redirect# location: /assets/# vary: accept-encoding# cache-control: public, max-age=86400# content-length: 0# date: Mon, 03 Feb 2025 21:19:19 GMT

After

$ curl -i"http://localhost:8787/assets?param=123"# HTTP/1.1 308 Permanent Redirect# location: /assets/?param=123# vary: accept-encoding# cache-control: public, max-age=86400# content-length: 0# date: Mon, 03 Feb 2025 21:19:29 GMT

Screenshots (if appropriate):

@joseluisqjoseluisq added bugSomething isn't working v2v2 release labelsFeb 3, 2025
@semanticdiff-comSemanticDiff.com
Copy link

semanticdiff-combot commentedFeb 3, 2025
edited
Loading

Review changes with  SemanticDiff

Changed Files
FileStatus
  src/static_files.rs  58% smaller

@joseluisqjoseluisqforce-pushed theadd-uri-query-trailing-slash-redirect branch fromc672f71 to1264fc2CompareFebruary 3, 2025 21:33
@joseluisqjoseluisq marked this pull request as ready for reviewFebruary 3, 2025 21:34
@joseluisqjoseluisq merged commita639039 intomasterFeb 3, 2025
27 of 36 checks passed
@joseluisqjoseluisq deleted the add-uri-query-trailing-slash-redirect branchFebruary 3, 2025 21:41
@joseluisqjoseluisq added this to thev2.36.0 milestoneFeb 6, 2025
@joseluisqjoseluisq added bugfixThis is PR fixes a bug and removed bugSomething isn't working labelsFeb 10, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
bugfixThis is PR fixes a bugv2v2 release
Projects
None yet
Milestone
v2.36.0
Development

Successfully merging this pull request may close these issues.

1 participant
@joseluisq

[8]ページ先頭

©2009-2025 Movatter.jp