mod_http_cache: fixed validation of S3 URL