about summary refs log tree commit homepage
path: root/lib/PublicInbox/ViewVCS.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/ViewVCS.pm')
-rw-r--r--lib/PublicInbox/ViewVCS.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm
index 90c09078..61f4deba 100644
--- a/lib/PublicInbox/ViewVCS.pm
+++ b/lib/PublicInbox/ViewVCS.pm
@@ -27,7 +27,7 @@ my $enc_utf8 = find_encoding('UTF-8');
 
 sub html_page ($$$) {
         my ($ctx, $code, $strref) = @_;
-        $ctx->{-upfx} = '../'; # from "/$INBOX/$OID/s"
+        $ctx->{-upfx} = '../../'; # from "/$INBOX/$OID/s/"
         PublicInbox::WwwStream->response($ctx, $code, sub {
                 my ($nr, undef) =  @_;
                 $nr == 1 ? $$strref : undef;
@@ -82,7 +82,7 @@ sub show ($$;$) {
         }
 
         my $path = to_filename($di->{path_b} || $hints->{path_b} || 'blob');
-        my $raw_link = "(<a\nhref=_$path>raw</a>)";
+        my $raw_link = "(<a\nhref=$path>raw</a>)";
         if ($binary) {
                 $log = "<pre>$oid $type $size bytes (binary)" .
                         " $raw_link</pre>" . $log;