Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions)

Liste des GroupesRevenir à cl prolog 
Sujet : Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prolog
Date : 20. Sep 2024, 10:59:34
Autres entêtes
Message-ID : <vcjdhl$dgun$1@solani.org>
References : 1 2 3 4 5
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19
GIT does also produce a HTTPS warning and
not allow HTTP at all, it works with a HTTP
client that has redirect(true):
$ git clone http://www.dogelog.ch/dogelog/.git
Cloning into 'dogelog'...
warning: redirecting to https://www.dogelog.ch/dogelog/.git/
Fetching objects: 4613, done.
The warning tells me I have a **security glitch**
using initially HTTP, and I should use a HTTPS
link from the start.
Your SWI-Prolog GIT library might suppress this
warning, which is **not ok** in my opinion. To avoid
the warning I directly publish a HTTPS link:
1 GIT Access
For binary files and source code initially:
git clone https://www.dogelog.ch/dogelog/.git
Mild Shock schrieb:
Here is a sketch how this could be checked:
```
     http_open(_, _, [final_url(FinalURL)]),
     (\+ sub_atom(FinalURL, 0, _, _, 'https:') ->
            /* show some warning or even fatal error */
```
[https://www.swi-prolog.org/pldoc/man?predicate=http_open/3](https://www.swi-prolog.org/pldoc/man?predicate=http_open/3)   Or better using the `redirect(false`) http option
from the beginning. Some modern HTTP clients have
even a third `redirect/1` option besides true and
 false that prevents HTTP to HTTPS promotion.

Date Sujet#  Auteur
16 Sep06:59 * comp.lang.prolog Frequently Asked Questions10Markus Triska
20 Sep10:02 +* broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions)6Mild Shock
20 Sep10:39 i`* Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions)5Mild Shock
20 Sep10:42 i `* Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions)4Mild Shock
20 Sep10:47 i  `* Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions)3Mild Shock
20 Sep10:59 i   `* Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions)2Mild Shock
20 Sep11:19 i    `- Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions)1Mild Shock
20 Sep14:04 `* Re: comp.lang.prolog Frequently Asked Questions3Mild Shock
20 Sep20:38  `* Re: comp.lang.prolog Frequently Asked Questions2Mild Shock
20 Sep20:41   `- Re: comp.lang.prolog Frequently Asked Questions1Mild Shock

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal