From 13273e019d737f8eb4d7b1fe1eb665185dddfb5a Mon Sep 17 00:00:00 2001 From: Taylor Finley Date: Wed, 29 May 2019 12:06:59 -1000 Subject: [PATCH] Sanitizing user input --- RelativePath.Example1.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RelativePath.Example1.php b/RelativePath.Example1.php index 323b45f..92057c3 100644 --- a/RelativePath.Example1.php +++ b/RelativePath.Example1.php @@ -82,12 +82,13 @@ function execTime($function, $title="", $iterations = 100000) { Path: + value="" />
Path:
Path '$path' becomes:
"; echo "'" . RelativePath::getRelativePath($path) . "'\n";