Simon_Jones_112
Sep 26, 2006Nimbostratus
Matching a GUID in a querystring?
Hi all,
Anyone tell me why this won't work? Is it possible to use \w's in an IRule?
set querystring URI::query
if { $querystring contains "productid" } {
Match the GUID in product and redirect it to the URL:
set productid [regexp -all -inline -indices {\w{8}-\w{4}-\w{4}-\w{4}-\w{12}} [HTTP::uri]]
Log to syslog-ng
log local0. "Found product: $productid"
}
Simon