* [PATCH 1/5] www_stream: add trailing slash for help and color links
2021-03-17 7:02 5% [PATCH 0/5] www: extindex stuff Eric Wong
@ 2021-03-17 7:02 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2021-03-17 7:02 UTC (permalink / raw)
To: meta
This saves clients a redirect
---
lib/PublicInbox/WwwStream.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/PublicInbox/WwwStream.pm b/lib/PublicInbox/WwwStream.pm
index bcf2ecec..1178a3c9 100644
--- a/lib/PublicInbox/WwwStream.pm
+++ b/lib/PublicInbox/WwwStream.pm
@@ -40,8 +40,8 @@ sub html_top ($) {
my $desc = ascii_html($ibx->description);
my $title = delete($ctx->{-title_html}) // $desc;
my $upfx = $ctx->{-upfx} || '';
- my $help = $upfx.'_/text/help';
- my $color = $upfx.'_/text/color';
+ my $help = $upfx.'_/text/help/';
+ my $color = $upfx.'_/text/color/';
my $atom = $ctx->{-atom} || $upfx.'new.atom';
my $top = "<b>$desc</b>";
if (my $t_max = $ctx->{-t_max}) {
^ permalink raw reply related [relevance 7%]
* [PATCH 0/5] www: extindex stuff
@ 2021-03-17 7:02 5% Eric Wong
2021-03-17 7:02 7% ` [PATCH 1/5] www_stream: add trailing slash for help and color links Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2021-03-17 7:02 UTC (permalink / raw)
To: meta
extindex.{url,coderepo,infourl} knobs should all be working,
altid may work, but might not be useful. coderepo visibility
is also improved.
Eric Wong (5):
www_stream: add trailing slash for help and color links
extindex: add some validation and config knobs for WWW
config: lazy-load coderepos, support extindex
www: improve visibility of coderepos
tests: show lsof output on deleted-file-check failures
MANIFEST | 1 +
lib/PublicInbox/Config.pm | 122 +++++++++++++++++++------------
lib/PublicInbox/ExtSearch.pm | 2 +-
lib/PublicInbox/Git.pm | 2 +-
lib/PublicInbox/TestCommon.pm | 28 ++++++-
lib/PublicInbox/View.pm | 5 +-
lib/PublicInbox/WWW.pm | 2 +-
lib/PublicInbox/WwwAtomStream.pm | 6 +-
lib/PublicInbox/WwwStream.pm | 27 ++++---
lib/PublicInbox/WwwText.pm | 2 +-
t/config.t | 6 +-
t/extindex-psgi.t | 48 ++++++++++++
t/httpd-corner.t | 3 +-
t/nntpd.t | 5 +-
t/psgi_v2.t | 30 ++------
15 files changed, 191 insertions(+), 98 deletions(-)
create mode 100644 t/extindex-psgi.t
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-03-17 7:02 5% [PATCH 0/5] www: extindex stuff Eric Wong
2021-03-17 7:02 7% ` [PATCH 1/5] www_stream: add trailing slash for help and color links Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).