TCL error: bad option

I get the error below, while processing an irule, but I don´t know where to start. May anybody please help me?

TCL error: - bad option: must be -exact, -glob, -regexp, or -- while executing "switch -glob [HTTP::uri]

Thanks in advance and regards, Pablo.

I’d guess at a malformed URI coming in. You might want to share the iRule too. :slight_smile:

/Patrik

Patrik, thanks for the answer. Just to be sure, do you think it´s just a malformed uri, not a bad irule?

Thanks and regards,
   Pablo.

Post it and I’ll give you an opinion. :slight_smile:

/Patrik