This patch only adds the condition, so the flags are applied only for HTTPS URLs. No change in implementation.