]> 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:25:32 +0000 (15:25 -0700)
commitf7d599f8eac0a9e3d47c3ff2f074bed0b6e9c124
tree86d74feefe36d91f52d5ba9548de972acf605049
parent78eea352b4ad142e58b598c50929d5a4edb991fc
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