Closed GoogleCodeExporter closed 9 years ago
something like this may fix it
#^(https|http|ftp|ftps|news|mms|rtmp|rtmpt|e2dk)://|(mailto|javascript):#i
because mailto requires just :
where everything else requires ://
so you have to separate them
(i added in javascript for bookmarklets, but dont know if the redirection would
actually make it work)
Original comment by itspa...@gmail.com
on 20 Jul 2010 at 5:14
Don't understood where to paste this:
#^(https|http|ftp|ftps|news|mms|rtmp|rtmpt|e2dk)://|(mailto|javascript):#i
please for dummies :)
My config.php contains this:
define("URL_PROTOCOLS", "http|https|ftp|ftps|mailto|news|mms|rtmp|rtmpt|e2dk");
Original comment by vlad.pes...@mail.ru
on 23 Jul 2010 at 9:54
open index.php replace
if (!preg_match("/^(".URL_PROTOCOLS.")\:\/\//i", $url)) {
with
if (!preg_match("#^(https|http|ftp|ftps|news|mms|rtmp|rtmpt|e2dk)://|(mailto|javascript):#i", $url)) {
if you dont want javascript, delete |javascript
Original comment by itspa...@gmail.com
on 23 Jul 2010 at 2:25
:(
Error "Please enter a valid URL to shorten."
Original comment by vlad.pes...@mail.ru
on 24 Jul 2010 at 4:36
This will be fixed in the next update
Original comment by julfo%ju...@gtempaccount.com
on 26 Jul 2010 at 9:04
Original comment by hcblahb...@gmail.com
on 26 Oct 2010 at 8:46
Original comment by hcblahb...@gmail.com
on 26 Oct 2010 at 10:03
Original comment by hcblahb...@gmail.com
on 28 Oct 2010 at 12:10
not fixed in last version 2.4.2 :(
Original comment by 38050475...@gmail.com
on 1 Jan 2011 at 5:48
Original issue reported on code.google.com by
vlad.pes...@mail.ru
on 18 Jul 2010 at 3:03