# "You were logged out" after downloading an attachment due to Privacy Badger

**URL:** <https://meta.discourse.org/t/you-were-logged-out-after-downloading-an-attachment-due-to-privacy-badger/109714>\
**Category:** Product Support\
**Created:** [21 בפברואר,‏ 2019,‏ 12:34am UTC](https://meta.discourse.org/t/you-were-logged-out-after-downloading-an-attachment-due-to-privacy-badger/109714 "2019-02-21T00:34:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tfoote](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tfoote/32/120929_2.png) [@tfoote](https://meta.discourse.org/u/tfoote)\
**Post date:** [21 בפברואר,‏ 2019,‏ 3:02am UTC](https://meta.discourse.org/t/you-were-logged-out-after-downloading-an-attachment-due-to-privacy-badger/109714/3 "2019-02-21T03:02:32Z")

</div>

I did find a warning in the console when downloading the attachment

```plaintext
_application-b340ff561f4deaf627006a01fbc69a9abc5cee80ab3cf0367803a94f9f22cb21.js:10740 Resource interpreted as Document but transferred with MIME type application/pdf: "https://discourse-cdn-sjc2.com/standard17/uploads/ros/original/2X/1/19bddd29016a5fbec4040bacf13ed7a6b434f168.pdf".
redirectTo @ _application-b340ff561f4deaf627006a01fbc69a9abc5cee80ab3cf0367803a94f9f22cb21.js:10740
trackClick @ _application-b340ff561f4deaf627006a01fbc69a9abc5cee80ab3cf0367803a94f9f22cb21.js:18931
(anonymous) @ _application-b340ff561f4deaf627006a01fbc69a9abc5cee80ab3cf0367803a94f9f22cb21.js:44634
dispatch @ _ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:5198
g.handle @ _ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:5006

```

But I think it’s potentially unrelated.

I isolated it to be using the [EFF Privacy Badger](https://www.eff.org/privacybadger) Chrome Extension which was blocking cookies for the domain `discourse.ros.org` specifically.

 ![discourse_cookies_privacy_badger](https://global.discourse-cdn.com/meta/original/3X/8/2/82eeddf3cceea539ff8bdda705777d7c78b28987.png)

However that domain only comes up in the case that I navigate through the attachment.

Privacy badger usually doesn’t list it when browsing the site before downloading the attachment so I didn’t know it was blocking.

 ![no_main_cookie](https://global.discourse-cdn.com/meta/original/3X/f/9/f955e53dab1eb6afc0879c8842d3cd2eb5385b8d.png)

I’m not sure when Privacy Badger learned to flag the site. I reset it and cleared the flag and it now shows a DNT and is happy with the site by default.

 ![dnt_discourse_ros_org](https://global.discourse-cdn.com/meta/original/3X/e/4/e41a11f2566fc151e19f3a53338cf2153f1916df.png)

I noticed that it seems to loose the Local storage and Session storage when I download the attachment which seems odd. And this happens with Privacy Badger disabled.

 ![cookies_before](https://global.discourse-cdn.com/meta/original/3X/f/0/f05c66e7829b24d272a7a631b624c96b8d2daf52.png)

vs after the download

 ![cookies_after](https://global.discourse-cdn.com/meta/original/3X/c/0/c09eb7764497bf9bf70f8d0c60702c1be9db9e21.png)

This seems odd to me, but if it seems ok to you there’s no need to follow up. I’m happy with the results. Thanks for your time.

---

_[View the full topic](https://meta.discourse.org/t/you-were-logged-out-after-downloading-an-attachment-due-to-privacy-badger/109714)._
