From 2384bca6baf128dfc4b6a3ce2e56d7ae683712f2 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Thu, 16 Mar 2006 17:22:31 +0000 Subject: [PATCH] - fixed a bug in the File asset that caused file redirects to be cached incorrectly for Visitor. Thanks to Jukka Raimovaara / Axxion Oy. --- docs/changelog/6.x.x.txt | 2 ++ lib/WebGUI/Asset/File.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 687867afe..7e54d0e54 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -78,6 +78,8 @@ - [ 1441488 ] Sort Order of Profile Fields in Form "Create New Account" - fix [ 1439352 ] Deleting post is chain of posts ... descendants - fix [ 1432491 ] 6.8.6 popup windows has not head & body tags + - fixed a bug in the File asset that caused file redirects to be cached + incorrectly for Visitor. Thanks to Jukka Raimovaara / Axxion Oy. 6.8.7 - fix [ 1431098 ] op=becomeUser can become non-existent userIds diff --git a/lib/WebGUI/Asset/File.pm b/lib/WebGUI/Asset/File.pm index f9a769873..05760a1b3 100644 --- a/lib/WebGUI/Asset/File.pm +++ b/lib/WebGUI/Asset/File.pm @@ -330,7 +330,7 @@ sub www_view { return $self->getContainer->www_view; } $self->session->http->setRedirect($self->getFileUrl); - return undef; + return '1'; }