X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-logs.php;h=cd12c8e275b83791ca5b1367181d39631fc0cd63;hb=095f5ab59b539834d2c67e5d409d01820e10d8be;hp=60819c197824c0b5867289ae79e5c4ac38fc4fb6;hpb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;p=mailer.git diff --git a/inc/modules/admin/what-logs.php b/inc/modules/admin/what-logs.php index 60819c1978..cd12c8e275 100644 --- a/inc/modules/admin/what-logs.php +++ b/inc/modules/admin/what-logs.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -45,8 +45,8 @@ addYouAreHereLink('admin', __FILE__); if (isGetRequestElementSet('access')) { // Secure input and construct FQFN - $access = SQL_ESCAPE(getRequestElement('access')); - $target = sprintf("%slogs/%s", getPath(), $access); + $access = sqlEscapeString(getRequestElement('access')); + $target = sprintf('%slogs/%s', getPath(), $access); // Is the file valid and readable? if (isFileReadable($target)) {