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/RepoGitQuery.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/RepoGitQuery.pm') diff --git a/lib/PublicInbox/RepoGitQuery.pm b/lib/PublicInbox/RepoGitQuery.pm index 638a1316..c8d4a256 100644 --- a/lib/PublicInbox/RepoGitQuery.pm +++ b/lib/PublicInbox/RepoGitQuery.pm @@ -7,7 +7,7 @@ use strict; use warnings; use PublicInbox::Hval; use URI::Escape qw(uri_unescape); -my @KNOWN_PARAMS = qw(id id2 h ofs); +my @KNOWN_PARAMS = qw(id id2 ofs); sub new { my ($class, $env) = @_; -- cgit v1.2.3-24-ge0c7