Changeset 1189
- Timestamp:
- Apr 21, 2024, 6:08:13 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Validate External Links/validate_external_links.sh
r1184 r1189 71 71 # This determines whether the script tries to take a screenshot of the URL (when screenshots are 72 72 # requested). 73 declare -a HTTP_FILES=(3ds 7z avi BINA blend bsl cpp csv dae dll dmg doc east exe fbx first63 flv gamedata gif jpg last32 log m4a mhm mov mp3 mp4 oni ONWC pdf png psd py rar tga TRMA txt vbs wav wmv xaf xcf xlsx xml zip)74 declare -a HTTP_TLDS_AND_PAGES=(abstract action ars asp aspx cfm cgi com css de do full htm html it js jsp net org pgi php php3 phtml pl ru shtml stm uk x)73 declare -a HTTP_FILES=(3ds 7z avi BINA blend bsl cpp csv dae dll dmg doc east exe fbx first63 flv gamedata gif jpg last32 log m4a mhm mov mp3 mp4 oni ONWC pdf png psd py rar tga tif TRMA txt vbs wav wmv xaf xcf xlsx xml zip) 74 declare -a HTTP_TLDS_AND_PAGES=(abstract action ars asp aspx cfm cgi com css de do full htm html htmldem it js jsp net org pgi php php3 phtml pl ru shtml stm uk x) 75 75 76 76 # These arrays tells us which HTTP response codes are OK (good), which are RD (redirections), and which 77 77 # are NG (no good). Pages that return OK codes will be screenshotted when screenshots are asked for. 78 78 # Remember to update http_codes.txt if you add a new code. 79 declare -a OK_CODES=(200 401 405 406 418 501)79 declare -a OK_CODES=(200 202 401 405 406 418 501) 80 80 declare -a RD_CODES=(301 302 303 307 308) 81 81 declare -a NG_CODES=(000 400 403 404 410 429 500 502 503 504 520 530)
Note:
See TracChangeset
for help on using the changeset viewer.