diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 11:31:00 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 11:31:00 -0700 |
commit | 1d633457c4482ab96bf936e9951ded2d5ebc8c74 (patch) | |
tree | c07b01cd21c327a98a851f45a00b4c4014470a94 /lib/jquery.MultiFile.js | |
parent | 020281d932c566476222e6c825ada3affff239a6 (diff) |
Have url::site() and other methods return a SafeString, just as t() and t2().
Benefits:
- url::site() is often used in views and we can ensure in the url class that returned strings are indeed safe for use in HTML. Makes the list of vars of unknown safety status shorter.
- url::site() is often used as message parameter to t() and t2(). The parameter would be HTML-escaped if it wasn't marked as safe HTML already. Makes the usage simpler / shorter.
Diffstat (limited to 'lib/jquery.MultiFile.js')
0 files changed, 0 insertions, 0 deletions