Skip to content

Commit bccdf3d

Browse files
committed
[green] tolerate HTTP header casing in deploy smoke
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent 95d75f2 commit bccdf3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/web/deploy/vps/deploy.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ fi
12091209
feature_redirect_normalized_headers="${feature_redirect_headers}.normalized"
12101210
tr -d '\r' < "${feature_redirect_headers}" > \
12111211
"${feature_redirect_normalized_headers}"
1212-
if ! grep -Fqx "Location: ${feature_redirect_location}" \
1212+
if ! grep -Fiqx "Location: ${feature_redirect_location}" \
12131213
"${feature_redirect_normalized_headers}"; then
12141214
printf 'Features redirect smoke failed: canonical query-preserving Location is missing.\n' >&2
12151215
reject_post_activation_smoke 66

0 commit comments

Comments
 (0)