]> Sergey Matveev's repositories - public-inbox.git/commit
watch: show user-specified URL consistently.
authorEric Wong <e@yhbt.net>
Sat, 27 Jun 2020 10:03:55 +0000 (10:03 +0000)
committerEric Wong <e@yhbt.net>
Sun, 28 Jun 2020 22:29:39 +0000 (22:29 +0000)
commit371e5e2f808af2e4726d0f1eb6f1f81ea7214ae9
tree217f9f0273858d77015494a2688e3be1450ac5bf
parentb85909064e7209de45680150b5fb457736fa618d
watch: show user-specified URL consistently.

Since we use the non-ref scalar URL in many error messages,
favor keeping the unblessed URL in the long-lived process.

This avoids showing "snews://" to users who've specified
"nntps://" URLs, since "nntps" is IANA-registered nowadays and
what we show in our documentation, while "snews" was just a
draft the URI package picked up decades ago.
lib/PublicInbox/WatchMaildir.pm
t/watch_nntp.t