# [PATCH] doc: use https link to Wikipeai to avoid http redirect

4 messages from 2017-05-13 to 2017-05-13. Participants: Sven Strickroth, Ævar Arnfjörð Bjarmason.
Thread: https://gitlist.dev/t/45953

## Sven Strickroth, 2017-05-13 09:54

Subject: [PATCH] doc: use https link to Wikipeai to avoid http redirect
Message-ID: <20170513095716.C718E221C2B@srv1.79p.de>
URL: https://gitlist.dev/e/20170513095716.C718E221C2B%40srv1.79p.de

```
Signed-off-by: Sven Strickroth <email@cs-ware.de>
---
 Documentation/gitweb.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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).
 +
-- 
2.12.1.windows.1


```

## Ævar Arnfjörð Bjarmason, 2017-05-13 10:58

Subject: Re: [PATCH] doc: use https link to Wikipeai to avoid http redirect
Message-ID: <CACBZZX6dcy9DEp8AZsdV5SPG-86ELOXUSuFkOaoUxjVreJXhDA@mail.gmail.com>
URL: https://gitlist.dev/e/CACBZZX6dcy9DEp8AZsdV5SPG-86ELOXUSuFkOaoUxjVreJXhDA%40mail.gmail.com
In-Reply-To: <20170513095716.C718E221C2B@srv1.79p.de>

```
On Sat, May 13, 2017 at 11:54 AM, Sven Strickroth <email@cs-ware.de> wrote:

Spelling error: Wikipeai

Looks good, but let's change these too while we're at it:

$ git grep http://en.wikip
Documentation/gitweb.txt:87:http://en.wikipedia.org/wiki/Query_string#URL_encoding[]),
the difference
bisect.c:549: * http://en.wikipedia.org/wiki/Integer_square_root
gitweb/gitweb.perl:8088:<a
href="http://en.wikipedia.org/wiki/Regular_expression">regular
expression</a> (also case



> Signed-off-by: Sven Strickroth <email@cs-ware.de>
> ---
>  Documentation/gitweb.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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).
>  +
> --
> 2.12.1.windows.1
>

```

## Sven Strickroth, 2017-05-13 09:54

Subject: [PATCH] Use https links to Wikipedia to avoid http redirects
Message-ID: <a38670f6-2d47-f455-c9d3-d887a58e1e29@cs-ware.de>
URL: https://gitlist.dev/e/a38670f6-2d47-f455-c9d3-d887a58e1e29%40cs-ware.de
In-Reply-To: <CACBZZX6dcy9DEp8AZsdV5SPG-86ELOXUSuFkOaoUxjVreJXhDA@mail.gmail.com>

```
Signed-off-by: Sven Strickroth <email@cs-ware.de>
---
 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


```

## Ævar Arnfjörð Bjarmason, 2017-05-13 19:56

Subject: Re: [PATCH] Use https links to Wikipedia to avoid http redirects
Message-ID: <CACBZZX66ALcHuVh14R4OfW-D5PJS9prnzG5hw2SKvC-V+4+PVA@mail.gmail.com>
URL: https://gitlist.dev/e/CACBZZX66ALcHuVh14R4OfW-D5PJS9prnzG5hw2SKvC-V%2B4%2BPVA%40mail.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>

> ---
>  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
>

```
