Liste des Groupes | Revenir à l prolog |
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 Questions | 10 | Markus Triska | |
20 Sep10:02 | broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions) | 6 | Mild Shock | |
20 Sep10:39 | Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions) | 5 | Mild Shock | |
20 Sep10:42 | Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions) | 4 | Mild Shock | |
20 Sep10:47 | Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions) | 3 | Mild Shock | |
20 Sep10:59 | Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions) | 2 | Mild Shock | |
20 Sep11:19 | Re: broken and insecure links (Was: comp.lang.prolog Frequently Asked Questions) | 1 | Mild Shock | |
20 Sep14:04 | Re: comp.lang.prolog Frequently Asked Questions | 3 | Mild Shock | |
20 Sep20:38 | Re: comp.lang.prolog Frequently Asked Questions | 2 | Mild Shock | |
20 Sep20:41 | Re: comp.lang.prolog Frequently Asked Questions | 1 | Mild Shock |
Les messages affichés proviennent d'usenet.