]> git.llucax.com Git - software/blitiri.git/commit
Fix valid_link() to avoid scheme repetition
authorAlberto Bertogli <albertito@blitiri.com.ar>
Sat, 6 Sep 2008 14:14:36 +0000 (11:14 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Sat, 6 Sep 2008 14:14:36 +0000 (11:14 -0300)
commitb33059d59653fdea856cb61e8feb3b23370b6861
tree6be1864c2fcb461ae25ada73e0eed44267438cd6
parent1bc43a098188347915d4efdfa6261969fc73c8f1
Fix valid_link() to avoid scheme repetition

valid_link("mailto:x@y") returns "mailto:mailto:x@y". This patch fixes it,
and simplifies the code path.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
blitiri.cgi