Skip to content

Redirections hardcoded to httpstat.us instead of host #166

@XSanquer

Description

@XSanquer

Hello,

First, thank you for your app! 🙂

Summary

Since website deactivation (completly understood 👍 ), I'm using latest main docker image locally executed and I encountered an issue on 3xx codes whose redirect (301, 302, 303, 305, 307, 308): Location header provides website url instead of local one.

Request

GET /301 HTTP/1.1
Host: localhost:8080

Current response

HTTP/1.1 301 Moved Permanently
Content-Length: 21
Connection: close
Content-Type: text/plain
Date: Thu, 09 Oct 2025 08:59:07 GMT
Server: Kestrel
Location: https://httpstat.us/
Retry-After: 5

301 Moved Permanently

Expected Location value in response

"Location: http://localhost:8080/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions