HTTPS Everywhere Breaks Amazon mp3 Previews

Sweet, this has been puzzling me for a while...

Repro Steps:

Platform: Firefox 25.0.1, Ubuntu Ubuntu 12.04.3 LTS with HTTPS Everywhere enabled

  1. Go to any amazon mp3 page, for instance this.
  2. Click either 'Preview all songs' or the play icon next to any song.

Expected:

Sample preview.

Actual:

Fails with 'Error 3'.

This issue is related to the CloudFront rule (disabling that makes the page work).

Cheers! -Damian

PS. On a side note we should rename the HTTPS Everywhere components to be consistent. We have both 'EFF-HTTPS Everywhere' and 'HTTPS Everywhere: Chrome'. They're sorted alphabetically so they should start with the same prefix.