[Git-commits] [grml/grml-mirrors] 83b1fc: Try to avoid double "//" within URLs

Michael Prokop noreply at github.com
Fri Jul 9 14:03:22 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-mirrors
  Commit: 83b1fc53e98f78e3da79a3390481f13a28f106b9
      https://github.com/grml/grml-mirrors/commit/83b1fc53e98f78e3da79a3390481f13a28f106b9
  Author: Michael Prokop <mika at grml.org>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M Mirrors.masterlist

  Log Message:
  -----------
  Try to avoid double "//" within URLs

The underlying download/mirrors/index.html.tt2  (template toolkit)
script uses:

| "[% type.substr(5) %]://[% mirror %]/[% mirrors.$region.$mirror.$type %]"

So we end up with URLs like "http://at.mirror.anexia.com//grml/".
Avoid this where easily possible




More information about the Git-commits mailing list