From 67543ce1d62161fdef9dca198289d7dd7dceacc0 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 10 Feb 2019 16:30:07 +0000 Subject: useragent: Don't allow non-HTTP protocols to be used This prevents the aggregate plugin from being used to read the contents of local files via file:/// URLs. Signed-off-by: Simon McVittie --- t/noparanoia/LWPx/ParanoidAgent.pm | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 t/noparanoia/LWPx/ParanoidAgent.pm (limited to 't/noparanoia') diff --git a/t/noparanoia/LWPx/ParanoidAgent.pm b/t/noparanoia/LWPx/ParanoidAgent.pm new file mode 100644 index 000000000..751e80ce6 --- /dev/null +++ b/t/noparanoia/LWPx/ParanoidAgent.pm @@ -0,0 +1,2 @@ +# make import fail +0; -- cgit v1.2.3