From f6244586ba4f5a5e7575e1254be8c9bbe303fce9 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 15 Feb 2017 22:35:18 +0000 Subject: repobrowse: switch to new URL format to avoid query strings Query strings make endpoint caching more difficult since they're order-independent. They are also more likely lost or truncated inadvertantly when copy+pasting, so try to avoid them for default endpoints. There's still some things which are broken and followup commits will be needed to fix them. --- lib/PublicInbox/RepoGit.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/PublicInbox/RepoGit.pm') diff --git a/lib/PublicInbox/RepoGit.pm b/lib/PublicInbox/RepoGit.pm index b44457ca..114eb656 100644 --- a/lib/PublicInbox/RepoGit.pm +++ b/lib/PublicInbox/RepoGit.pm @@ -50,17 +50,17 @@ sub git_dec_links ($$) { $h = PublicInbox::Hval->utf8($h); my $r = $h->as_href; $h = $h->as_html; - push @l, qq($s -> $h); + push @l, qq($s -> $h); } elsif (s/\Atag: //) { my $h = PublicInbox::Hval->utf8($_); my $r = $h->as_href; $h = $h->as_html; - push @l, qq($h); + push @l, qq($h); } else { my $h = PublicInbox::Hval->utf8($_); my $r = $h->as_href; $h = $h->as_html; - push @l, qq($h); + push @l, qq($h); } } @l; -- cgit v1.2.3-24-ge0c7