The difference comes down to escaping rules: A string passed as data must be escaped. A script passed as code must not be escaped. It is very unlikely that this class will be of any use to users of DWR, however it is used by ScriptBuffer, and DWR's security rules forbid conversion of DWR defined objects unless they are in this package.
|
|
|
|