Use https with installgentoo since aaron is incapable of redirecting correctly.

This commit is contained in:
Nicolas Stepien 2012-03-14 20:54:51 +01:00
parent 5ca4a015cc
commit 53b3b5de55
3 changed files with 5 additions and 4 deletions

View File

@ -152,7 +152,7 @@
filesize: [''].join('\n'), filesize: [''].join('\n'),
md5: [''].join('\n') md5: [''].join('\n')
}, },
sauces: ['http://iqdb.org/?url=$1', 'http://www.google.com/searchbyimage?image_url=$1', '#http://tineye.com/search?url=$1', '#http://saucenao.com/search.php?db=999&url=$1', '#http://3d.iqdb.org/?url=$1', '#http://regex.info/exif.cgi?imgurl=$2', '# uploaders:', '#http://imgur.com/upload?url=$2', '#http://omploader.org/upload?url1=$2', '# "View Same" in archives:', '#http://archive.foolz.us/$4/image/$3/', '#http://archive.installgentoo.net/$4/image/$3'].join('\n'), sauces: ['http://iqdb.org/?url=$1', 'http://www.google.com/searchbyimage?image_url=$1', '#http://tineye.com/search?url=$1', '#http://saucenao.com/search.php?db=999&url=$1', '#http://3d.iqdb.org/?url=$1', '#http://regex.info/exif.cgi?imgurl=$2', '# uploaders:', '#http://imgur.com/upload?url=$2', '#http://omploader.org/upload?url1=$2', '# "View Same" in archives:', '#http://archive.foolz.us/$4/image/$3/', '#https://archive.installgentoo.net/$4/image/$3'].join('\n'),
time: '%m/%d/%y(%a)%H:%M', time: '%m/%d/%y(%a)%H:%M',
backlink: '>>%id', backlink: '>>%id',
fileInfoR: '%l (%s, %r)', fileInfoR: '%l (%s, %r)',
@ -3574,7 +3574,7 @@
case 'diy': case 'diy':
case 'g': case 'g':
case 'sci': case 'sci':
return "http://archive.installgentoo.net/" + board + "/" + mode + "/" + id; return "https://archive.installgentoo.net/" + board + "/" + mode + "/" + id;
case '3': case '3':
case 'adv': case 'adv':
case 'an': case 'an':

View File

@ -1,6 +1,7 @@
master master
- Mayhem - Mayhem
Update posting support to use https with sys.4chan.org according to 4chan's latest change. This fixes the 'referer' error. Update posting support to use https with sys.4chan.org according to 4chan's latest change. This fixes the 'referer' error.
Update redirection to installgentoo's archives.
2.29.0 2.29.0
- Mayhem - Mayhem

View File

@ -110,7 +110,7 @@ config =
'#http://omploader.org/upload?url1=$2' '#http://omploader.org/upload?url1=$2'
'# "View Same" in archives:' '# "View Same" in archives:'
'#http://archive.foolz.us/$4/image/$3/' '#http://archive.foolz.us/$4/image/$3/'
'#http://archive.installgentoo.net/$4/image/$3' '#https://archive.installgentoo.net/$4/image/$3'
].join '\n' ].join '\n'
time: '%m/%d/%y(%a)%H:%M' time: '%m/%d/%y(%a)%H:%M'
backlink: '>>%id' backlink: '>>%id'
@ -2995,7 +2995,7 @@ Redirect =
when 'lit' when 'lit'
"http://fuuka.warosu.org/#{board}/#{mode}/#{id}" "http://fuuka.warosu.org/#{board}/#{mode}/#{id}"
when 'diy', 'g', 'sci' when 'diy', 'g', 'sci'
"http://archive.installgentoo.net/#{board}/#{mode}/#{id}" "https://archive.installgentoo.net/#{board}/#{mode}/#{id}"
when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'pol', 'r9k', 'soc', 'sp', 'toy', 'trv', 'vp', 'x' when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'pol', 'r9k', 'soc', 'sp', 'toy', 'trv', 'vp', 'x'
"http://archive.no-ip.org/#{board}/#{mode}/#{id}" "http://archive.no-ip.org/#{board}/#{mode}/#{id}"
else else