aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--action.php2
-rw-r--r--picture.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/action.php b/action.php
index 6bdb3bf11..c26df65e5 100644
--- a/action.php
+++ b/action.php
@@ -186,7 +186,7 @@ if (!url_is_remote($file))
// HTTP/1.1 only
$http_headers[] = 'Cache-Control: private, must-revalidate, max-age='.$max_age;*/
- if ( isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) )
+ if ('f' != $_GET['part'] and isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) )
{
set_status_header(304);
foreach ($http_headers as $header)
diff --git a/picture.php b/picture.php
index 093e4b271..75b7cdaf2 100644
--- a/picture.php
+++ b/picture.php
@@ -677,7 +677,7 @@ SELECT *
foreach ($formats as &$format)
{
$format['download_url'] = 'action.php?format='.$format['format_id'];
- $format['download_url'].= '&download='.substr(md5(time()), 0, 6); // a random string to avoid browser cache
+ $format['download_url'].= '&download';
$format['label'] = strtoupper($format['ext']);
$lang_key = 'format '.strtoupper($format['ext']);