First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 193712
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Network Proxy Developers <net-proxy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: rlmattson@ieee.org
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 193712 depends on: Show dependency tree
Show dependency graph
Bug 193712 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-25 07:59 0000
Regular expression URL matching broken in squidguard.

Problem and fix given on official web site.
http://squidguard.org/Doc/known_issues.html



Reproducible: Always

Steps to Reproduce:
Use regular expressions in squidguard configuration ACL.
Actual Results:  
Regular expression matching fails, resulting in URL denial.
(subject to how the filtering rules are composed).


from above link:

squidGuard 1.2.1:
Regex not working

Reason:
Problem in sg.y.in line 2350:
if(aclpass->dest->regExp != NULL && access){
if((result = sgRegExpMatch(aclpass->dest->regExp,req->url)) != 0){
if(aclpass->access){

Fix/Workaround:
Replace
req->url
by
req->strippedurl
Re-run configure, make, make install.
Will be fixed in version 1.3.

------- Comment #1 From Alin Năstac 2007-09-25 11:31:00 0000 -------
Fixed in 1.2.1-r2, in which I've preserved the keywords from the previous
revision  (all keywords are stable).

Thanks!

------- Comment #2 From Alin Năstac 2007-09-25 11:57:34 0000 -------
Hmm... sg.y is not regenerated by configure. I had to remake the regexp and
tests patches.

First Last Prev Next    No search results available      Search page      Enter new bug