Giorgio-Bonvicini-R4P commented on issue #1334:
URL: https://github.com/apache/answer/issues/1334#issuecomment-2904241381

   First of all I can confirm:
   
   - Using the latest version of Apache Answer
   - Using HTTPS (although not natively: I am using Traefik as reverse porxy)
   - "login required" is set to true
   
   That being said, I think we might have something useful at hand.
   
   First of all, reproducing your exact steps (open Chrome with private 
navigation, login with Google, craete new answer with image), the **image loads 
correctly**! (and the cookie is there)
   
   Now, my suspicion was that it is somehow related to cookies being 
re-used/not invalidated correctly.
   
   So I tried this:
   
   1. open the website in Chrome with private navigation
   2. as expected, no cookie is set
   3. login with google
   4. cookie gets set to visit=XYZ
   5. creating a new question with an image, **it loads OK**
   6. opening an old question with an image, **it loads OK**
   7. log out (Chrome still open with private navigation)
   8. the cookie is still set to visit=XYZ (same as before, this is what looks 
suspicious to me)
   9. login with google (same user as before)
   10. the cookie is still set to visit=XYZ (same as before, even more 
suspicious)
   11. creating a new question with an image, **it FAILS to load**
   12. opening an old question with an image, it seems to load ok, but it is 
just cached. If I force reload without cache (Ctrl+Shift+R) the **image FAILS 
to load**
   
   Additionally:
   
   1. open the website in Chrome with private navigation
   2. as expected, no cookie is set
   3. login as user1 with user and password
   4. cookie gets set to visit=XYZ
   5. creating a new question with an image, **it loads OK**
   6. opening an old question with an image, **it loads OK**
   7. log out (Chrome still open with private navigation)
   8. the cookie is still set to visit=XYZ (same as before)
   9. login with google as user2 (different from before)
   10. the cookie is still set to visit=XYZ (same as before even after logging 
in with a different user)
   11. creating a new question with an image, **it FAILS to load**
   12. opening an old question with an image, it seems to load ok, but it is 
just cached. If I force reload without cache (Ctrl+Shift+R) the **image FAILS 
to load**
   
   Let me know if you can replicate this behavior or if you need more details


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to