Closed Bug 1547905 Opened 6 years ago Closed 5 years ago

slideshare - A Download window is opened when accessing the site

Categories

(Web Compatibility :: Privacy: Site Reports, defect, P1)

Unspecified
Windows 10
defect

Tracking

(firefox-esr60 unaffected, firefox-esr68 wontfix, firefox67+ wontfix, firefox67.0.1+ wontfix, firefox68+ wontfix, firefox69 fixed, firefox70 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- wontfix
firefox67 + wontfix
firefox67.0.1 + wontfix
firefox68 + wontfix
firefox69 --- fixed
firefox70 --- fixed

People

(Reporter: karlcow, Assigned: miketaylr)

References

(Blocks 1 open bug, )

Details

(Keywords: regression, webcompat:site-wait, Whiteboard: [webcompat])

Attachments

(1 file)

  1. Navigate to: https://www.slideshare.net/

Expected Behavior:
The site is opened.

Actual Behavior:
The site is opened and a Download window is opened.

The issue is not reproducible on Chrome.

After running mozregression we get
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=a48759a33738d8b5f4ad4659115e8bbd1e608c31&tochange=3e2b52df8b24f0faf0b1a1f7a32cd8040e53e240

I wonder if it depends on Bug 1499442 or Bug 1492563

If I deactivate Content Blocking for the site I get the right behavior.
Ah Maybe it is Bug 1492563

Let's see.

Flags: webcompat?

Karl: I can't reproduce it in Nightly (68), neither can :jkt, but apparently he can reproduce in 66. Do we need to figure out what fixed this an uplift to a last minute Beta or is that good enough? It's probably too late to fix anything non-urgent in 67 anyway.

Flags: needinfo?(kdubost)

Daniel, I still can reproduce in Firefox Nightly 68.0a1 (2019-04-30) (64-bit) on macos.

  1. With a Fresh profile in Nightly (I really mean fresh here)
  2. Go to https://www.slideshare.net/

Actual:
The browser proposes open/save a dtag 20 bytes document from https://linkedin.com

Flags: needinfo?(kdubost)

Oh I can too with a brand new profile, is this something you know about :baku?

Flags: needinfo?(amarchesini)

According to devtools we're loading the linkedin content in an iframe. The initial URL redirects to an ad server (secure.adnxs.com) that eventually redirects back to linkedIn's dtag with different parameters.

In Release with cookies all over the place I get an ad frame (the 3rd box labeled "Advertisement" in the Features SlideShares row). The ad image I get is served from linkedIn itself so I guess it only went to adnxs.com for tracking and not to get an actual ad.

In Nightly with cleared cookies steps are the same except no cookies on any of these (devtools says they're known trackers). The final redirect back to www.linkedin.com/dtag? is the same except the last parameter. In the broken one it's appnexusuid=0 and in the working one it's a 19 digit appnexusuid (this URL is supplied by adnxs.com). In the broken version there's no content-type header and the content-length is 20 bytes. Despite the content-length header (which is repeated on the save dialog) there's no content downloaded (0 bytes) and devtools concurs ("No response data available for this request").

Because there's no content-type we assume binary and offer to download it rather than display it in the iframe. Even if we were tempted to guess based on content it's served with a nosniff header insisting that we don't. We couldn't guess much from 0 bytes anyway. Sending a response without a content-type is a wrong thing for the server to be doing and linkedin should fix it. Sending the wrong content-length is also a bug on their part.

They are no doubt confused by the lack of cookies. If I load the URL at a top-level page after clearing cookies (or at least linkedin.com cookies) I also get the download. Then when I reload the page (now with the cookies I got from the first attempt) I get the ad document.

https://www.linkedin.com/tscp-serving/dtag?sz=300x250&dc_ref=https://www.slideshare.net/&ti=1&z=slideshare&p=5&pk=slideshare_desktop_homepage_loggedout&_rx=;adsense=t;dc_ref=https://www.slideshare.net/;$DCOPT;ord=$ORD&appnexusuid=0

If LinkedIn changes this to serve a valid content-type header that would solve the problem. Of course if they figure that out they'd probably want to send us the valid ad content rather than leave a blank panel on their client's page.

The only thing Firefox could do to "fix" this is to take linkedin off the tracking list. We shouldn't because what they are doing here is ABSOLUTELY tracking (in partnership with adnxs.com).

Flags: needinfo?(senglehardt)

Thanks for the detailed description Dan! I can reproduce the download dialog on Nightly 68 build 20190506130308 with Content Blocking. I also tried disabling content blocking and loading https://www.slideshare.net/ with a fresh profile and did not observe the download dialog.

LinkedIn is on the basic tracking protection list.

stpeter, do we have any contacts at LinkedIn who can fix this? From Dan's description, it seems like an issue on their end.

Blocks: etp-breakage
Component: DOM: Security → Privacy: Anti-Tracking
Flags: needinfo?(senglehardt)
Flags: needinfo?(stpeter)

We have a list to discuss these issues. I will contact them.
Thanks a lot Daniel for the parts I had missed.

Flags: needinfo?(stpeter)
Flags: needinfo?(amarchesini)

I just contacted them on the partner mailing list.

Thanks for the detailed bug report, including steps to reproduce and path to resolution.

Just to make sure the status of this bug is clear to everyone, it affects 67 for users who have ETP turned on (for example as part of our ongoing shield study on the release branch). It will also affect new users on 67.0.5.

Bumping to P1 since it affects 67.0.5 which is an incoming release. Baku can we get this investigated as soon as possible? Thanks

Flags: needinfo?(amarchesini)
Priority: P3 → P1

The investigation has already happened in comment 4. Someone needs to contact LinkedIn and ask them to fix their code (and comment 7 suggests that is in progress already).

Moving to the component which I think is the new "tech evangelism" component?

Component: Privacy: Anti-Tracking → Outreach Request
Flags: webcompat?
Flags: needinfo?(amarchesini)
Product: Core → Developer Engagement
Version: 68 Branch → unspecified
Component: Outreach Request → Desktop
Product: Developer Engagement → Web Compatibility

(Sigh, not sure how get the tracking flags back. I cannot use Bugzilla any more. Can someone help?)

I've filed an internal ticket to track this issue and the team will review.

Just a note that LinkedIn acknowledged Karl's message after he sent it.

I just re-pinged the thread to ask for an update. Still reproduces.

I am marking as wontfix for 67 as this is not something we can fix on Firefox side and the webcompat team already contacted Linkedin about it.

Assignee: nobody → miket

I repinged the thread since it still reproduces.

Any updates? I can still reproduce this...

No updates from LinkedIn mailing list. We should probably try alternate avenues...

Flags: needinfo?(miket)

Trying contact via LinkedIn to a SlideShare engineer.

Flags: needinfo?(miket)

checking back in...

Flags: needinfo?(miket)

I didn't get a reply from SlideShare engineer I found, but just asked a follow-up question to a LinkedIn person off-thread.

Flags: needinfo?(miket)
Flags: needinfo?(kberezina)
See Also: → 1577870
Flags: needinfo?(kberezina)

Discussed during triage - did the intervention resolve the issue? Thanks.

Flags: needinfo?(miket)

Yeah, we can close this. If/when the site fixes itself, we will remove the intervention (QA does monthly tests to verify if we still need them).

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(miket)
Resolution: --- → FIXED
See Also: → 1623621

(In reply to Mike Taylor [:miketaylr] from comment #24)

Yeah, we can close this. If/when the site fixes itself, we will remove the intervention (QA does monthly tests to verify if we still need them).

Looks like they've done that, so this intervention will be removed for the next version.

Component: Site Reports → Privacy: Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: