Project

General

Profile

Bug #1131

str_split function missing in squidGuard

Added by Luis Soltero over 9 years ago. Updated about 8 years ago.

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

0%

Estimated time:
Affected 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

History

#1 Updated by Serg Dvoriancev over 9 years ago

Bug Fixed.

#2 Updated by Jim Pingle over 9 years ago

  • Status changed from New to Feedback

Fixed per dvserg

#3 Updated by Jim Pingle about 8 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF