Forum Discussion
Anthony_Hatch_3
Apr 04, 2011Nimbostratus
Thanks for your assistance Aaron! Implementing this change has resolved the issue. My statement now reads:
if {[class match -- [string tolower [HTTP::header User-Agent]] contains {non_mobi_ua}]}
I do have a question though, going back to that article (SOL10745). In your experience, if you had DG entries that contained special chars, would you still enclose the DG reference in curly braces like in my above example? It seems like this would be best practice in accordance to what f5 support says in the article, but in the scenarios I ran through previously, it didn't seem to matter anyway. Granted, the example wasn't using a string type, but also didn't say it was restricted to an address type either. Maybe I'll try and test a little more thoroughly this week.