[sleuthkit-developers] [ autopsy-Bugs-2923857 ] Cookie errors with icon and css
Brought to you by:
carrier
From: SourceForge.net <no...@so...> - 2009-12-30 22:59:52
|
Bugs item #2923857, was opened at 2009-12-30 17:55 Message generated for change (Comment added) made by carrier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477897&aid=2923857&group_id=55687 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Brian Carrier (carrier) Assigned to: Nobody/Anonymous (nobody) Summary: Cookie errors with icon and css Initial Comment: >From Stefan Kelm: All, Autopsy (v2.21 / TSK 3.0.1 / Debian) currently creates dozens of "ERROR: Incorrect Cookie from..." warnings in the autopsy.log file during a single session. In order to get rid of those warnings the following minor changes to the Print.pm module need to be applied: - replace all instances of "/global.css" with "global.css" - replace all instances of "/pict/favicon.ico" with "pict/favicon.ico" (see the diff as attached to this mail - not sure, though, whether attachments make it to the list...) Cheers, Stefan. -- Stefan Kelm <sk...@bf...> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstrasse 100 Tel: +49-721-96201-1 D-76133 Karlsruhe Fax: +49-721-96201-99 --- Print.pm.ORIG 2009-12-28 15:19:06.000000000 +0100 +++ Print.pm 2009-12-28 15:18:56.000000000 +0100 @@ -155,7 +155,7 @@ <head> <title>$text</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - <link rel="stylesheet" href="/global.css"> + <link rel="stylesheet" href="global.css"> </head> EOF @@ -169,7 +169,7 @@ sub print_html_header { print_html_header_frameset(shift); print "<body bgcolor=\"$::BACK_COLOR\">\n\n"; - print "<link rel=\"SHORTCUT ICON\" href=\"/pict/favicon.ico\">\n"; + print "<link rel=\"SHORTCUT ICON\" href=\"pict/favicon.ico\">\n"; } sub print_html_footer { @@ -182,7 +182,7 @@ print_html_header_frameset(shift); print "<body marginheight=0 marginwidth=0 topmargin=0 " . "leftmargin=0 rightmargin=0 botmargin=0 bgcolor=\"$::BACK_COLOR\">\n\n"; - print "<link rel=\"SHORTCUT ICON\" href=\"/pict/favicon.ico\">\n"; + print "<link rel=\"SHORTCUT ICON\" href=\"pict/favicon.ico\">\n"; $is_body = 1; } @@ -206,7 +206,7 @@ <head> <title>$text</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - <link rel="stylesheet" href="/global.css"> + <link rel="stylesheet" href="global.css"> <script language=\"JavaScript\"> <!-- hide script from old browsers document.write(\'<center><font color=\"red\"><p>WARNING: Your browser currently has Java Script enabled.</font><p>You do not need Java Script to use Autopsy and it is recommended that it be turned off for security reasons.<hr></center>\'); @@ -215,7 +215,7 @@ </head> <body bgcolor=\"$::BACK_COLOR\"> -<link rel=\"SHORTCUT ICON\" href=\"/pict/favicon.ico\"> +<link rel=\"SHORTCUT ICON\" href=\"pict/favicon.ico\"> EOF } ---------------------------------------------------------------------- >Comment By: Brian Carrier (carrier) Date: 2009-12-30 17:59 Message: Fixed in rev 19 of the autopsy svn trunk. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477897&aid=2923857&group_id=55687 |