The current download and aggregate code uses just the URL basename, but that's not enough. If I change the host or any part of the path or query string, I want to force a new download.

Easy solution - use a hash of the URL as the filename.

CommentFileSizeAuthor
#1 1376708-1.patch1.89 KBpwolanin

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new1.89 KB

This patch fixes the filename, and error in the drupal_add_js logic (adds even if download failed) and also removes incorrect use of t() in watchdog() calls.

pwolanin’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.