Skip to content

Addition of trailing slash loses URL parameter #636

@rgls

Description

@rgls

Short description of the issue

When the option “Should page URLs end with a slash” is enabled, URLs get rewritten to the original URL with a trailing slash added. Then the browser is redirected to this new URL. The new URL does no longer contain any URL parameters the original URL contained.

Expected behavior

When accessing http://example.com/somepage?a=b you should be redirected to http://example.com/somepage/?a=b.

Actual behavior

Instead you are redirected to http://example.com/somepage/ (without the parameters).

  • ProcessWire version: 3.0.98

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions