Skip to content

Bug Report: Redirection Location is missing matrix parameters #7788

@mkarg

Description

@mkarg

Brief Summary

Payara automatically sends a 302 REDIRECTED response when the terminating slash is missing in the request URL.

Unfortunately, Payara is dropping the matrix parameters found in the original URL from the responding Location header.

As a result, clients will repeat their request on the wrong URL, as the matrix parameters are no missing.

Expected Outcome

Location header contains the original URL, but with added terminal slash.

Current Outcome

Location header is missing the matrix parameters from the original URL.

Reproducer

curl -v http://payara/shop/products;color=red

Expected: Location http://payara/shop/products/;color=red

Actual: Location http://payara/shop/products/

Operating System

Windows 10

JDK Version

Temurin 21

Payara Distribution

Payara Server Full Profile

Metadata

Metadata

Labels

Status: AcceptedConfirmed defect or accepted improvement to implement, issue has been escalated to Platform DevType: BugLabel issue as a bug defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions