Anti-"image theft" example from Apache httpd documentation that would break with this bug:
RewriteCond expr "! %{HTTP_REFERER} -strmatch '*://%{HTTP_HOST}/*'" RewriteRule "^/images" "-" [F]