linux/fs/erofs
Alexander A. Klimov 592e7cd00b erofs: Replace HTTP links with HTTPS ones
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
	  If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
            If both the HTTP and HTTPS versions
            return 200 OK and serve the same content:
              Replace HTTP with HTTPS.

Reviewed-by: Gao Xiang <hsiangkao@redhat.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200713130944.34419-1-grandmaster@al2klimov.de
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
2020-08-03 21:04:29 +08:00
..
compress.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
data.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
decompressor.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
dir.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
erofs_fs.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
inode.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
internal.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
Kconfig erofs: support superblock checksum 2019-11-24 11:02:41 +08:00
Makefile
namei.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
super.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
tagptr.h
utils.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
xattr.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
xattr.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
zdata.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
zdata.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
zmap.c erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00
zpvec.h erofs: Replace HTTP links with HTTPS ones 2020-08-03 21:04:29 +08:00