<![CDATA[ Support/Comments for Error 404 Logger - MODX Community Forums]]> https://forums.modx.com/thread/?thread=38351 <![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=5#dis-post-391768 http://code.google.com/p/modx-evo-extra-ja/downloads/detail?name=error404logger_007.zip
Ver 0.0.7 released.

$value = htmlentities($value, ENT_QUOTES, mb_internal_encoding());

I added fix XSS code.]]>
yama Aug 30, 2011, 02:39 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=5#dis-post-391768
<![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=5#dis-post-217956 ]]> andrnag Feb 24, 2011, 04:04 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=5#dis-post-217956 <![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217955
http://code.google.com/p/modx-evo-extra-ja/downloads/detail?name=Error 404 Logger006.zip
updated]]>
yama Feb 18, 2011, 12:25 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217955
<![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217954 Quote from: Andrey at Feb 18, 2011, 06:14 AM

Attention! There is vilnerabilities in this module. SQL injection is possible.
Patch file \assets\modules\error404logger\e404logger.class.inc.php

	// add 404 query
	function insert($ip, $url, $referer) {
	global $modx;
	  $modx->dbQuery("INSERT INTO ".$this->tableNameModx." (url, ip, host, referer, createdon) VALUES ('".$modx->db->escape($url)."','".$modx->db->escape($ip)."', '".gethostbyaddr($ip)."', '".$modx->db->escape($referer)."', '".date('Y-m-d H:i:s',time())."')"); 
		return $modx->db->getInsertId();
	}



And remember to keep the plugin of this module first for ’PageNotFound’ event sequence.

THANKS!]]>
lastoftheromans Feb 18, 2011, 12:18 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217954
<![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217953 Patch file \assets\modules\error404logger\e404logger.class.inc.php

	// add 404 query
	function insert($ip, $url, $referer) {
	global $modx;
	  $modx->dbQuery("INSERT INTO ".$this->tableNameModx." (url, ip, host, referer, createdon) VALUES ('".$modx->db->escape($url)."','".$modx->db->escape($ip)."', '".gethostbyaddr($ip)."', '".$modx->db->escape($referer)."', '".date('Y-m-d H:i:s',time())."')"); 
		return $modx->db->getInsertId();
	}



And remember to keep the plugin of this module first for ’PageNotFound’ event sequence.]]>
andrnag Feb 18, 2011, 12:14 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217953
<![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217952
http://modxcms-jp.com/bb/viewtopic.php?f=34&t=233
It is repared. smiley
]]>
yama Nov 21, 2010, 05:39 PM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217952
<![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217951 One of the first things I install on every new site smiley

A minor bug I found last times:
In the e404logger.class.inc.php you’re using php short tags but not every hosting provider supports this. If you call the module, you’ll see the code of the class in plain text and you’ll get an error (Error404Logger class not found). Perhaps for any further relases: Use "<?php" instead of "<?"...

Cheers,
Chris]]>
chrizz Nov 21, 2010, 11:11 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217951
<![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217950 yama Feb 04, 2010, 04:36 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217950 <![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217949 andrnag Feb 04, 2010, 04:33 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217949 <![CDATA[Re: Support/Comments for Error 404 Logger]]> https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217948 http://modxcms-jp.com/bb/viewtopic.php?f=34&t=233

for evo. thanks yama! smiley]]>
anonymized-26931 Feb 02, 2010, 12:32 AM https://forums.modx.com/thread/38351/support-comments-for-error-404-logger?page=4#dis-post-217948