gitweb: Don't escape attributes in CGI.pm HTML methods
[gitweb.git] / git-remote.perl
index c56c5a84a4ac67648efd3c5ccf690e9cb21dd54f..670bafb6d05db7f152f53cac235d4d60c219ee6d 100755 (executable)
@@ -67,7 +67,7 @@ sub list_remote {
                $git->command(qw(config --get-regexp), '^remote\.');
        };
        for (@remotes) {
-               if (/^remote\.([^.]*)\.(\S*)\s+(.*)$/) {
+               if (/^remote\.(\S+?)\.([^.\s]+)\s+(.*)$/) {
                        add_remote_config(\%seen, $1, $2, $3);
                }
        }