Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Short URLs not redirecting #278

Open
sigaloid opened this issue Oct 2, 2024 · 2 comments
Open

🐛 Bug Report: Short URLs not redirecting #278

sigaloid opened this issue Oct 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sigaloid
Copy link
Member

sigaloid commented Oct 2, 2024

Recent changes have broken the canonical_path function. Short URLs (http://localhost:8080/17krzvz) don't work

curl -vv "http://localhost:8080/17krzvz"
* Host localhost:8080 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:8080...
* Connected to localhost (::1) port 8080
> GET /17krzvz HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/8.6.0
> Accept: */*
> 
< HTTP/1.1 302 Found
< content-type: text/html
< location: /17krzvz
< referrer-policy: no-referrer
< x-content-type-options: nosniff
< x-frame-options: DENY
< content-security-policy: default-src 'none'; font-src 'self'; script-src 'self' blob:; manifest-src 'self'; media-src 'self' data: blob: about:; style-src 'self' 'unsafe-inline'; base-uri 'none'; img-src 'self' data:; form-action 'self'; frame-ancestors 'none'; connect-src 'self'; worker-src blob:;
< strict-transport-security: max-age=604800
< content-length: 49
< date: Wed, 02 Oct 2024 18:25:38 GMT
< 
* Connection #0 to host localhost left intact
Redirecting to <a href="/17krzvz">/17krzvz</a>...⏎                                                        
@sigaloid sigaloid added the bug Something isn't working label Oct 2, 2024
@SkyRider13
Copy link

Hello, not sure how big of an issue this is to fix but it hasn't really been touched on for a month?

@karimroshan
Copy link

hi! really appreciate the project. was just wondering if a fix for this was coming?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants