Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Tumblr redirects incorrectly redirect some images to Edgecast CDN #1168

Closed
IBBoard opened this issue Mar 8, 2015 · 4 comments
Closed

Tumblr redirects incorrectly redirect some images to Edgecast CDN #1168

IBBoard opened this issue Mar 8, 2015 · 4 comments
Milestone

Comments

@IBBoard
Copy link

IBBoard commented Mar 8, 2015

When viewing Tumblr, approximately half of the blog-posted images on my dash do not show up. If I right-click and view the image then I get an error from Edgecast CDN [1]. The beginning parts of the URLs for working images are identical.

If I disable the "Tumblr (partial)" ruleset then everything works fine (but I'm obviously not protected). If I clone the Tumblr ruleset and comment out the line:

<rule from="^http://data\.tumblr\.com/"
            to="https://gs1.wac.edgecastcdn.net/8019B6/data.tumblr.com/" />

(which gives me all of the protection of the original rules, except on data.tumblr.com) then everything works fine. I don't know why this works, since the images are on ##.media.tumlr.com and so shouldn't be matching the data.tumblr.com rule, but it seems to work.

Browser: Firefox 35 and Chromium 39 on Linux
Extension versions: 4.0.3 and 2015.1.22
No other custom rules used

[1] http://ibboard.tumblr.com/post/112897748412/thank-goodness-for-content-delivery-networks

@fuzzyroddis
Copy link
Contributor

From what I can tell they seem to have switched from Edgecast to Amazon AWS recently.

http://data.tumblr.com
HTTP/1.1 403 Forbidden
x-amz-request-id: ...
x-amz-id-2: ...
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Mon, 09 Mar 2015 01:52:29 GMT
Server: AmazonS3

I'll have a further look, perhaps there is a tumblr rule that isn't in https://github.com/EFForg/https-everywhere/blob/691be3b4bcb6540258ba895a037866ab48a87cca/src/chrome/content/rules/Tumblr.xml

@fuzzyroddis
Copy link
Contributor

@stefan2904
Copy link

thanks a lot for the fast response. 👍

@pde pde closed this as completed May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants
@IBBoard @pde @stefan2904 @fuzzyroddis and others