How to prevent script name being encoded in registerScriptFile()

I want to register a dynamic script file which needs some parameters using get method. But when i use


It becomes



How do I prevent it from being encoded?

I modified line 270 in CHtml.php

return '<script type="text/javascript" src="'.self::encode($url).'"></script>';



But I’m wondering why this url needs to be encoded, if I don’t encode it will something bad happen?