#1866: Fix hentai-foundry source redirects
This commit is contained in:
@@ -313,7 +313,7 @@ class Post < ActiveRecord::Base
|
|||||||
when %r{\Ahttp://p\.twpl\.jp/show/orig/([a-z0-9]+)}i
|
when %r{\Ahttp://p\.twpl\.jp/show/orig/([a-z0-9]+)}i
|
||||||
"http://p.twipple.jp/#{$1}"
|
"http://p.twipple.jp/#{$1}"
|
||||||
|
|
||||||
when %r{\Ahttp://pictures\.hentai-foundry\.com//a/([^/]+)/(\d+)\.}i
|
when %r{\Ahttp://pictures\.hentai-foundry\.com//[^/]/([^/]+)/(\d+)\.}i
|
||||||
"http://www.hentai-foundry.com/pictures/user/#{$1}/#{$2}"
|
"http://www.hentai-foundry.com/pictures/user/#{$1}/#{$2}"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user