ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Validate External Links/validate_external_links.sh
(Generate patch)

Comparing Validate External Links/validate_external_links.sh (file contents):
Revision 1136 by iritscen, Mon Jul 20 15:58:39 2020 UTC vs.
Revision 1137 by iritscen, Tue Jul 21 14:16:54 2020 UTC

# Line 51 | Line 51 | declare -a NS_NAMES=("Media" "Special" "
51   # These arrays tell the script which suffixes at the ends of URLs represent files and which are pages.
52   # This determines whether the script tries to take a screenshot of the URL or just gets its HTTP code.
53   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 py rar tga TRMA txt vbs wav wmv xaf xml zip)
54 < declare -a HTTP_TLDS_AND_PAGES=(action ars asp aspx cfm cgi com css de htm html it js jsp net org pgi php php3 phtml pl ru shtml stm uk x)
54 > declare -a HTTP_TLDS_AND_PAGES=(action ars asp aspx cfm cgi com css de full htm html it js jsp net org pgi php php3 phtml pl ru shtml stm uk x)
55  
56   # These arrays tells us which HTTP response codes are OK (good), which are RD (redirections), and which
57   # are NG (no good). Pages that return OK codes will be screenshotted. Remember to update http_codes.txt

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)