Closed (duplicate)
Project:
Drupal core
Version:
5.2
Component:
watchdog.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2007 at 20:09 UTC
Updated:
10 Oct 2008 at 05:56 UTC
includes/bootstrap.inc
db_query("INSERT INTO {watchdog} (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (%d, '%s', '%s', %d, '%s', '%s', '%s', '%s', %d)", $user->uid, $type, $message, $severity, $link, $request_uri, referer_uri(), $_SERVER['REMOTE_ADDR'], time());
at least referer_uri() and $link should be truncated -> substr(referer_uri(),0,128) substr($link,0,255)
cleanurl is nice, GET should be bad, but bookmarkable search results should be good.
Comments
Comment #1
dave reidDuplicate of #107824: Convert {watchdog}.referer and {accesslog}.url from VARCHAR to TEXT. We'll get it fixed in HEAD, then work our way down to backport.