-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 83ec0d0d9f2958090cdc2ac7907249ccb5600c89:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 83ec0d0d9f2958090cdc2ac7907249ccb5600c89
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Sat May 20 18:17:38 2006 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index c3c3491f47074474fb16509114a00b14b46f06c4..

index ..7463f948342199d210bfbfe689bf88b88f7e026d 100644

--- a/Changes
+++ b/Changes
@@ -46,6 +46,7 @@ TODO: check wether -depth works as resource
           by omatunto_.
         - slap in a using namespace std, might help on platforms that don't
           follow C++ closely enough.
+        - fix mailto url regex, spotted within milliseconds by Jost Krieger.

 7.7  Tue Feb 21 12:32:49 CET 2006
 	- use double-buffered drawing (xft fonts only). On many driver/hardware
diff --git a/src/perl/mark-urls b/src/perl/mark-urls

index 200007d55a5fc6045484138418abb6b6dd61f313..

index ..a8921aed6565f0557a29c43388917462d0ccc06a 100644

--- a/src/perl/mark-urls
+++ b/src/perl/mark-urls
@@ -3,7 +3,7 @@
 # same url as used in "selection"
 my $url =
    qr{(
-      (?:https?|ftp|news|mailto|file)://[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+
+      (?:https?://|ftp://|news://|mailto:|file://)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+
       [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27()~]   # exclude some trailing characters (heuristic)
    )}x;

diff --git a/src/perl/selection b/src/perl/selection

index d1cfc41048f75b1f06acd5f03f5aefebfe5670c9..

index ..d93fd6fa32b5c4794776d829873ffe3f183c3990 100644

--- a/src/perl/selection
+++ b/src/perl/selection
@@ -46,7 +46,7 @@ my @mark_patterns = (

    # urls, just a heuristic
    qr{(
-      (?:https?|ftp|news|mailto|file)://[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+
+      (?:https?://|ftp://|news://|mailto:|file://)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+
       [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27()~]   # exclude some trailing characters (heuristic)
    )}x,

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 12:18:58 2024