Forum Discussion
Yozzer
Dec 13, 2010Nimbostratus
Thanks Aaron,
Relay may already contain https://test.com/test2/login.aspx so i would redirect if it contained a value:
when HTTP_REQUEST_DATA {
set relay [URI::decode [URI::query "?[HTTP::payload]" Relay]]
if {$relay contains "/test2/"}{
HTTP::redirect "https://test.com/test2/login.aspx"
if {$relay contains "/test3/"}{
HTTP::redirect "https://test.com/test3/login.aspx"
}
}
}
Would this work?
Thanks