]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix for ticket 2513: "Can't linkify" error when some links are shortened
authorBrion Vibber <brion@status.net>
Thu, 12 Aug 2010 22:19:47 +0000 (15:19 -0700)
committerBrion Vibber <brion@status.net>
Thu, 12 Aug 2010 22:19:47 +0000 (15:19 -0700)
commit6787b377c0b91fa3503077e4ba0efc75565a2ded
tree4a906df2cea571ae7e5e557c44a9e71c7b780d04
parentdcfc13cc0873e1a3815d3fa473d96e004af996b9
Fix for ticket 2513: "Can't linkify" error when some links are shortened

When bogus SSL sites etc were hit through a shortening redirect, sometimes link resolution kinda blew up and the user would get a "Can't linkify" error, aborting their post.
Now catching this case and just passing through the URL without attempting to resolve it. Could benefit from an overall scrubbing of the freaky link/attachment code though...! :)

http://status.net/open-source/issues/2513
classes/File_redirection.php
lib/util.php