host/-/fetch-redirect will cause chrome show dangerous site warning #13227

Closed
opened 2025-11-02 10:35:32 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @yp05327 on GitHub (Jul 3, 2024).

Description

Network:
I'm using Cloudflare and the server is behind a NAT, so I used NPM to handle all incomming requests and provide SSL.

I notice that chrome will show me the dangerous site warning sometimes.
Finally I found that it is caused by host/-/fetch-redirect.
This request will be blocked by chrome in my case.
img_v3_02ce_499326f4-3df0-4aea-866d-77197d20355g

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

None

Originally created by @yp05327 on GitHub (Jul 3, 2024). ### Description Network: I'm using Cloudflare and the server is behind a NAT, so I used NPM to handle all incomming requests and provide SSL. I notice that chrome will show me the dangerous site warning sometimes. Finally I found that it is caused by `host/-/fetch-redirect`. This request will be blocked by chrome in my case. ![img_v3_02ce_499326f4-3df0-4aea-866d-77197d20355g](https://github.com/go-gitea/gitea/assets/18380374/24fe9e55-66ba-4100-8087-346bb5f6ce2e) ### Gitea Version latest ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? docker ### Database None
GiteaMirror added the type/bug label 2025-11-02 10:35:32 -06:00
Author
Owner

@yp05327 commented on GitHub (Jul 3, 2024):

details
image

@yp05327 commented on GitHub (Jul 3, 2024): details ![image](https://github.com/go-gitea/gitea/assets/18380374/63731c0b-bc8b-4712-87ee-339c3c12f17a)
Author
Owner

@yp05327 commented on GitHub (Jul 3, 2024):

I change my host name from gitea.xxx.com to code.xxx.com, and it worked.
Strange policy.

@yp05327 commented on GitHub (Jul 3, 2024): I change my host name from gitea.xxx.com to code.xxx.com, and it worked. Strange policy.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13227