git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Use https links to Wikipedia to avoid http redirects

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
May 13, 2017, 19:56 UTC
Message-ID
<CACBZZX66ALcHuVh14R4OfW-D5PJS9prnzG5hw2SKvC-V+4+PVA@mail.gmail.com>
In-Reply-To
<a38670f6-2d47-f455-c9d3-d887a58e1e29@cs-ware.de>
On Sat, May 13, 2017 at 11:54 AM, Sven Strickroth <email@cs-ware.de> wrote:
> Signed-off-by: Sven Strickroth <email@cs-ware.de>
Thanks! FWIW:
Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Show 48 quoted lines
> ---
>  Documentation/gitweb.txt | 2 +-
>  bisect.c                 | 2 +-
>  gitweb/gitweb.perl       | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
> index 96156e5e1..88450589a 100644
> --- a/Documentation/gitweb.txt
> +++ b/Documentation/gitweb.txt
> @@ -84,7 +84,7 @@ separator (rules for Perl's "`split(" ", $line)`").
>
>  * Fields use modified URI encoding, defined in RFC 3986, section 2.1
>  (Percent-Encoding), or rather "Query string encoding" (see
> -http://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
> +https://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
>  being that SP (" ") can be encoded as "{plus}" (and therefore "{plus}" has to be
>  also percent-encoded).
>  +
> diff --git a/bisect.c b/bisect.c
> index 08c9fb726..fa477a3e2 100644
> --- a/bisect.c
> +++ b/bisect.c
> @@ -546,7 +546,7 @@ static unsigned get_prn(unsigned count) {
>
>  /*
>   * Custom integer square root from
> - * http://en.wikipedia.org/wiki/Integer_square_root
> + * https://en.wikipedia.org/wiki/Integer_square_root
>   */
>  static int sqrti(int val)
>  {
> diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
> index 7cf68f07b..d8209c7a0 100755
> --- a/gitweb/gitweb.perl
> +++ b/gitweb/gitweb.perl
> @@ -8085,7 +8085,7 @@ sub git_search_help {
>  <p><strong>Pattern</strong> is by default a normal string that is matched precisely (but without
>  regard to case, except in the case of pickaxe). However, when you check the <em>re</em> checkbox,
>  the pattern entered is recognized as the POSIX extended
> -<a href="http://en.wikipedia.org/wiki/Regular_expression">regular expression</a> (also case
> +<a href="https://en.wikipedia.org/wiki/Regular_expression">regular expression</a> (also case
>  insensitive).</p>
>  <dl>
>  <dt><b>commit</b></dt>
> --
> 2.12.1.windows.1
>
Previous: Sven Strickroth
Message 4 of 4 in “doc: use https link to Wikipeai to avoid http redirect”
  1. doc: use https link to Wikipeai to avoid http redirectSven Strickroth, May 13, 2017
  2. Ævar Arnfjörð BjarmasonMay 13, 2017
  3. Use https links to Wikipedia to avoid http redirectsSven Strickroth, May 13, 2017
  4. Ævar Arnfjörð BjarmasonMay 13, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.