LinkinStars commented on issue #667:
URL: https://github.com/apache/answer/issues/667#issuecomment-2856859416

   @chenhongbao Thanks for the detailed feedback. Based on your feedback, I 
know the cause of the problem. Because you don't use HTTPS, so your browser 
can't get the related cookies, so you can't access the private images. You can 
refer to the following content to add HTTPS to your website, on the one hand, 
it can solve this problem, on the other hand, it can make your website more 
secure. Note that HTTPS is very important. 
   
   FYI: https://answer.apache.org/blog/deploy-answer-https
   
   By the way, the following command accesses the image normally, while the 
browser does not. Thus, it can be verified that the problem is caused by a 
cookie.
   
   ```bash
   curl --location 'http://plusai.site/uploads/post/5smt4sbUZA9.png' \
   --header 'Cookie: visit=0196a88a-f3c0-7190-9155-8a42ca93ad2d' --output 
123.jpg
   ```


-- 
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

Reply via email to