Forum Discussion
CharlesCS
Feb 19, 2016Cirrus
Instead of comparing
([HTTP::uri] contains "/owa")
this
([HTTP::path] starts_with "/owa")
would be more efficient. You might also want to ensure that you're looking at lower-case data by using
([[string tolower [HTTP::path]] starts_with "/owa")
so you don't miss URLs like "https://webmail.company.com/OWA".