chenhongbao commented on issue #667: URL: https://github.com/apache/answer/issues/667#issuecomment-2856799746
@LinkinStars Can't access the uploaded images and attachements. As I checked my forum configs and browser settings, **logined required is turn on,** and the **uploaded images and attachments are accessed directly in the posts with my domain**, saying plusai.site, can't access. Then I inspected the network activities in dev tool, get the reponse as the below. ` ------General-------- http://plusai.site/uploads/post/5smt4sbUZA9.png GET 302 Found 182.254.194.230:80 strict-origin-when-cross-origin ------ Response ------ HTTP/1.1 302 Found Content-Type: image/png Location: /403 Date: Wed, 07 May 2025 01:57:51 GMT Content-Length: 0 ------Request-------- GET /uploads/post/5smt4sbUZA9.png HTTP/1.1 Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7 Connection: keep-alive Host: plusai.site Referer: http://plusai.site/questions/10010000000000030 User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Mobile Safari/537.36 Edg/136.0.0.0 ` I also tried accessing the uploaded file, a pdf document, and failed too. The network activities are like the below. ` -----General---- http://plusai.site/uploads/files/post/5smfTQVm1EU/test.pdf GET 302 Found 182.254.194.230:80 strict-origin-when-cross-origin -----Response----- HTTP/1.1 302 Found Content-Type: image/pdf Location: /403 Date: Wed, 07 May 2025 01:52:10 GMT Content-Length: 0 ------Request------ GET /uploads/files/post/5smfTQVm1EU/test.pdf HTTP/1.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7 Connection: keep-alive Host: plusai.site Referer: http://plusai.site/questions/10010000000000029 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Mobile Safari/537.36 Edg/136.0.0.0 ` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@answer.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org