0.11-stable: Fixed exception when default ticket query contains `$USER` and username contains `=`.
Closes #7036.
Authored by: rblank 2008-08-31
Parent: [r7501]
Child: [r7503]