Changeset 1189


Ignore:
Timestamp:
Apr 21, 2024, 6:08:13 PM (7 months ago)
Author:
iritscen
Message:

ValExtLinks: Added file suffix, page suffix and HTTP response code which were previously unknown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Validate External Links/validate_external_links.sh

    r1184 r1189  
    7171# This determines whether the script tries to take a screenshot of the URL (when screenshots are
    7272# 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)
     73declare -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)
     74declare -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)
    7575
    7676# These arrays tells us which HTTP response codes are OK (good), which are RD (redirections), and which
    7777# are NG (no good). Pages that return OK codes will be screenshotted when screenshots are asked for.
    7878# Remember to update http_codes.txt if you add a new code.
    79 declare -a OK_CODES=(200 401 405 406 418 501)
     79declare -a OK_CODES=(200 202 401 405 406 418 501)
    8080declare -a RD_CODES=(301 302 303 307 308)
    8181declare -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.