aszlig
6fe989eaed
nixos/tests/acme: Use exact match in TOS location
...
Since the switch to check the nginx config with gixy in
59fac1a6d7e1983a1e7bd518129ff9ef39a013dd, the ACME test doesn't build
anymore, because gixy reports the following false-positive (reindented):
>> Problem: [alias_traversal] Path traversal via misconfigured alias.
Severity: MEDIUM
Description: Using alias in a prefixed location that doesn't ends with
directory separator could lead to path traversal
vulnerability.
Additional info: https://github.com/yandex/gixy/blob/master/docs/en/plugins/aliastraversal.md
Pseudo config:
server {
server_name letsencrypt.org;
location /documents/2017.11.15-LE-SA-v1.2.pdf {
alias /nix/store/y4h5ryvnvxkajkmqxyxsk7qpv7bl3vq7-2017.11.15-LE-SA-v1.2.pdf;
}
}
The reason this is a false-positive is because the destination is not a
directory, so something like "/foo.pdf../other.txt" won't work here,
because the resulting path would be ".../destfile.pdf../other.txt".
Nevertheless it's a good idea to use the exact match operator (=), to
not only shut up gixy but also gain a bit of performance in lookup (not
that it would matter in our test).
Signed-off-by: aszlig <aszlig@nix.build>
2019-04-06 12:51:56 +02:00
..
2019-04-06 12:51:56 +02:00
2018-12-21 17:52:37 +01:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2019-02-07 16:39:35 +01:00
2018-07-20 20:56:59 +00:00
2019-01-11 04:36:51 +00:00
2018-07-20 20:56:59 +00:00
2019-02-20 21:08:57 +01:00
2018-11-11 23:11:45 +09:00
2019-03-18 00:22:23 +01:00
2018-09-24 20:07:33 +01:00
2019-04-04 19:42:49 +01:00
2018-07-20 20:56:59 +00:00
2018-09-21 09:22:03 +02:00
2019-02-22 16:14:13 +01:00
2018-08-31 21:19:53 -05:00
2019-02-22 15:00:20 -05:00
2018-07-20 20:56:59 +00:00
2018-11-29 20:27:47 -06:00
2018-05-30 05:07:39 +02:00
2019-02-22 16:14:13 +01:00
2018-02-22 04:04:49 +01:00
2018-11-11 23:11:45 +09:00
2018-12-09 18:17:27 +01:00
2019-03-22 18:43:15 -04:00
2018-07-20 20:56:59 +00:00
2018-08-07 14:48:43 +00:00
2018-10-30 22:26:43 +01:00
2018-11-11 23:11:45 +09:00
2018-08-03 09:40:32 +02:00
2018-11-11 23:11:45 +09:00
2018-10-30 22:26:43 +01:00
2018-12-20 13:03:41 +01:00
2018-11-11 23:11:45 +09:00
2018-12-01 19:07:49 -06:00
2018-10-10 14:57:43 +02:00
2019-03-18 08:05:42 -04:00
2019-02-22 16:14:13 +01:00
2019-01-13 11:27:39 +01:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2019-02-22 16:14:13 +01:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2018-10-30 22:26:43 +01:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-05-07 04:58:52 +02:00
2018-07-20 20:56:59 +00:00
2019-03-25 00:59:09 +02:00
2018-07-20 20:56:59 +00:00
2018-11-03 01:00:53 +01:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2019-03-26 19:35:14 +01:00
2018-07-20 20:56:59 +00:00
2018-04-12 01:35:14 +02:00
2019-02-11 20:58:45 +01:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-09-21 01:17:41 +02:00
2019-02-22 16:14:13 +01:00
2019-02-22 16:14:13 +01:00
2019-02-27 12:23:48 +01:00
2019-02-12 18:26:39 +01:00
2018-09-02 01:57:20 +02:00
2018-08-28 17:12:49 +02:00
2019-01-28 00:15:00 +01:00
2018-09-20 21:29:37 +02:00
2019-02-11 03:13:03 +01:00
2019-03-12 15:04:45 +00:00
2018-07-20 20:56:59 +00:00
2018-02-14 22:43:59 +01:00
2018-12-10 10:36:25 +01:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-08-02 16:39:57 +02:00
2018-07-20 20:56:59 +00:00
2018-11-12 08:19:58 +01:00
2018-07-20 20:56:59 +00:00
2019-01-06 13:19:28 +01:00
2018-09-19 16:19:45 +02:00
2019-03-24 19:45:35 +01:00
2018-09-24 17:31:46 +02:00
2018-12-09 18:29:51 +01:00
2018-06-01 22:27:51 +02:00
2018-11-10 20:54:10 -05:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2019-03-02 13:56:52 +01:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2019-01-25 07:12:41 +01:00
2019-02-22 16:14:13 +01:00
2019-04-01 08:39:25 -04:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2019-04-01 10:04:54 -04:00
2019-02-22 16:14:13 +01:00
2018-11-20 04:11:39 +01:00
2019-03-14 01:28:53 +01:00
2019-03-28 13:08:47 +01:00
2019-01-25 07:12:08 +01:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2019-03-28 11:15:20 -04:00
2018-11-11 23:11:45 +09:00
2018-07-20 20:56:59 +00:00
2019-02-06 16:21:07 +01:00
2018-07-20 20:56:59 +00:00
2018-08-29 19:38:00 +02:00
2019-03-29 15:50:36 +01:00
2019-02-22 16:14:13 +01:00
2019-01-26 10:05:32 +00:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2018-11-25 14:24:10 +01:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2019-03-15 16:32:36 +01:00
2019-02-22 16:14:13 +01:00
2019-02-11 03:12:56 +01:00
2019-02-01 16:01:08 +01:00
2018-08-26 13:38:58 +02:00
2018-07-20 20:56:59 +00:00
2019-01-26 10:05:32 +00:00
2019-01-10 22:44:26 +01:00
2019-02-22 16:14:13 +01:00
2017-11-16 18:21:02 +00:00
2019-01-29 19:54:14 +01:00
2018-07-20 20:56:59 +00:00
2018-10-01 23:01:38 +02:00
2018-09-04 22:46:44 +02:00
2018-05-07 04:05:41 +02:00
2019-04-01 17:24:33 +02:00
2018-10-30 21:31:39 +09:00
2019-02-25 00:51:58 +01:00
2019-02-11 20:58:45 +01:00
2018-04-30 16:49:38 +02:00
2019-01-25 00:43:34 +01:00
2018-06-24 16:10:32 +02:00
2019-03-15 15:15:32 +01:00
2018-07-20 20:56:59 +00:00
2019-01-29 08:45:26 -08:00
2019-01-24 20:54:14 +00:00
2018-07-20 20:56:59 +00:00
2019-04-05 02:30:28 +01:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2017-11-03 00:14:00 +01:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2018-10-28 19:13:12 +00:00
2018-07-20 20:56:59 +00:00
2019-01-26 21:15:43 +02:00
2019-02-04 03:56:43 +01:00
2018-07-20 20:56:59 +00:00
2019-03-19 23:20:23 +01:00
2019-03-12 23:50:52 +01:00
2019-01-03 21:14:21 +01:00
2018-11-23 19:45:17 +01:00
2018-09-23 10:46:22 +02:00
2019-02-22 16:14:13 +01:00
2018-10-30 22:26:43 +01:00
2019-02-22 16:14:13 +01:00
2019-02-22 16:14:13 +01:00
2019-01-25 07:11:28 +01:00
2018-07-28 00:12:55 +03:00
2019-02-05 11:51:33 +00:00
2018-07-20 20:56:59 +00:00
2019-02-08 13:35:09 +00:00
2019-02-11 02:59:55 +01:00
2018-11-15 23:44:16 +09:00
2018-11-11 23:11:45 +09:00
2018-12-07 05:56:53 +01:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2018-11-11 23:11:45 +09:00
2018-07-20 20:56:59 +00:00
2018-07-20 20:56:59 +00:00
2019-03-09 22:31:40 +01:00
2018-07-20 20:56:59 +00:00
2018-11-03 13:14:13 -04:00
2019-01-25 07:10:40 +01:00
2018-02-28 16:55:00 -05:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2019-02-14 22:55:16 +01:00
2018-11-19 01:09:54 +01:00
2019-03-14 20:04:33 +01:00
2018-12-12 15:35:39 +01:00
2018-07-11 10:20:12 +02:00
2019-01-21 11:37:20 +00:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2018-09-15 23:10:25 +02:00
2018-07-20 20:56:59 +00:00
2019-01-26 10:05:32 +00:00
2018-08-24 15:48:39 +02:00
2018-03-13 21:04:44 +01:00
2018-07-20 20:56:59 +00:00
2019-02-22 16:14:13 +01:00
2018-12-12 21:30:47 +01:00
2018-07-20 20:56:59 +00:00
2019-01-05 16:42:30 +01:00
2018-09-20 12:47:46 +02:00
2018-11-11 23:11:45 +09:00
2018-07-20 20:56:59 +00:00