Project

General

Profile

Actions

Bug #1131

closed

str_split function missing in squidGuard

Added by Luis Soltero over 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/24/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

squidGuard gives errors under pfSense 1.2.3 because php4 does not provide the str_split function required by squidGuard. This issue is discussed in detail here
http://forum.pfsense.org/index.php/topic,31171.0.html

the following fix is suggested

add the following to the bottom of squidGuard.inc
if(!function_exists('str_split')) {
function str_split($string, $split_length = 1) {
$array = explode("\r\n", chunk_split($string, $split_length));
array_pop($array);
return $array;
}
}

It would be nice if the package maintainer would do this to prevent problems for pfsense 1.2.3 users when they update the package.

Thanks,

--luis

Actions #1

Updated by Serg Dvoriancev over 13 years ago

Bug Fixed.

Actions #2

Updated by Jim Pingle over 13 years ago

  • Status changed from New to Feedback

Fixed per dvserg

Actions #3

Updated by Jim Pingle almost 12 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF