NetworkManager/shared/systemd
Thomas Haller dec1678fec dhcp: enforce MUD URL to use "https://" scheme
nm_sd_http_url_is_valid_https() is rather clunky, but it is
this way, because we must not disagree with systemd code
about what makes a valid URL.

RFC 8520 says "MUD URLs MUST use the "https" scheme".

See-also: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/463#note_476190

Fixes: cedcea5ee8 ('libnm: fix verification of connection:mud-url property')
2020-04-24 20:54:13 +02:00
..
sd-adapt-shared systemd: merge branch systemd into master 2020-03-23 17:50:12 +01:00
src systemd: add nm_sd_http_url_is_valid() to access internal http_url_is_valid() 2020-04-24 10:09:50 +02:00
nm-logging-stub.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-sd-utils-shared.c dhcp: enforce MUD URL to use "https://" scheme 2020-04-24 20:54:13 +02:00
nm-sd-utils-shared.h dhcp: enforce MUD URL to use "https://" scheme 2020-04-24 20:54:13 +02:00