Ticket #1500 (new defect)

Opened 7 months ago

Conditions, empty code in condition, other action

Reported by: andihit Assigned to: jan
Priority: normal Milestone: 1.5.0
Component: core Version: 1.4.13
Severity: normal Keywords: conditions,url,referer
Cc: Blocking:
Need Feedback: 0

Description

That Works (access-deny works):

$HTTP["url"] =~ "^/static/cache/" {
   url.access-deny = ( ".jpg", ".jpeg", ".png" )
}

That Works not (access-deny doesn't work):

$HTTP["url"] =~ "^/static/cache/" {
   url.access-deny = ( ".jpg", ".jpeg", ".png" )
   $HTTP["referer"] == "" {
   }
}

The second config is the same, with only one more condition. But the condition does nothing. And the action is not the same as in the first example.

Attachments


Add/Change #1500 (Conditions, empty code in condition, other action)




Change Properties