Web lists-archives.com

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




On Sat, May 13, 2017 at 11:54 AM, Sven Strickroth <email@xxxxxxxxxx> wrote:
> Signed-off-by: Sven Strickroth <email@xxxxxxxxxx>

Thanks! FWIW:

Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>

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