File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 18
18
- fixed #12364: Site export loses session info
19
19
- fixed #12345: tickets in trash still show up
20
20
- fixed #12305: dbSlave breaks WebGUI when not able to connect
21
+ - fixed: Http Proxy assets with no URL to proxy cannot be deleted.
21
22
22
23
7.10.24
23
24
- fixed #12318: asset error causes asset manager to fail
Original file line number Diff line number Diff line change @@ -299,8 +299,10 @@ See WebGUI::Asset::purgeCache() for details.
299
299
300
300
sub purgeCache {
301
301
my $self = shift ;
302
- WebGUI::Cache-> new($self -> session,$self -> get(" proxiedUrl" )," URL" )-> delete ;
303
- WebGUI::Cache-> new($self -> session,$self -> get(" proxiedUrl" )," HEADER" )-> delete ;
302
+ if (my $proxiedUrl = $self -> get(" proxiedUrl" )) {
303
+ WebGUI::Cache-> new($self -> session,$proxiedUrl ," URL" )-> delete ;
304
+ WebGUI::Cache-> new($self -> session,$proxiedUrl ," HEADER" )-> delete ;
305
+ }
304
306
$self -> SUPER::purgeCache;
305
307
}
306
308
You can’t perform that action at this time.
0 commit comments