From: Larry G. <Li...@IS...> - 2003-11-04 04:56:27
|
Hi All, Hopefully someone with more experience here might be able to help me. This seems like a trivial problem but I just can't see it. I am trying to modify squidGuard regular expressions. The file is read by read_file_lines(). It is properly output to a hyper link. On selecting the hyperlink, the form data is then read by &ReadParse(). No rocket science here. The odd thing is that a '+' is substituted by a space. Example: Hyperlink: (^|[-.\?+=/_0-9])(john|mary) Script reads: (^|[-.\? =/_0-9])(john|mary) The hyperlink is created by the following (sorry for the wrap): print " <TD WIDTH=100%><A HREF=\"edit_blexpr.cgi?blacklist=$in{'blacklist'}&entry=$entry\"><TT>", (length($entry) > 80) ? substr($entry, 0, 80)."..." : $entry, "</TT></A></TD>\n"; The variable in question is $entry. The script reading this output refers to $in{'entry'}. Can anyone see what I am missing? Thanks, Larry |