Skip to content

Commit d7cd81f

Browse files
committed
Don't allow 404 links
As we render the links in templates we should know if the resource is available. It would detect incorrect URLs such as after switching from internal to externalids.
1 parent 5c0546e commit d7cd81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/jobs/webstandard.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if [ $RET -ne 0 ] && [ $RET -ne 4 ] && [ $RET -ne 8 ]; then
8383
exit $RET
8484
fi
8585

86-
EXPECTED_HTTP_CODES="200\|302\|400\|404\|403"
86+
EXPECTED_HTTP_CODES="200\|302\|400\|403"
8787
if [ "$ROLE" = "public" ]; then
8888
# It's expected to encounter a 401 for the login page as we supply the wrong password
8989
EXPECTED_HTTP_CODES="$EXPECTED_HTTP_CODES\|401"

0 commit comments

Comments
 (0)