Added a new method to WebGUI::HTML called makeParameter safe. It will

encode commas and single quotes to make the output safe to embed inside
of a macro.
Added tests to verify that it works correctly.
Updated the c_companyName macro to use makeParameterSafe.
Added tests to verify that the changed macro works okay.
Updated the c_companyName documentation.
Added a blurb to the gotchas file to cover the change to the macro.
This commit is contained in:
Colin Kuskie 2007-02-13 23:42:53 +00:00
parent 52a3023b09
commit 76585a1daa
7 changed files with 63 additions and 10 deletions

View file

@ -66,6 +66,7 @@
- fix: multiple matrix sharing features
- fix: Fixed a bug with processing macros in rich media ads. (perlDreamer Consulting, LLC)
- fix: WebGUI Auth create account can now be properly overriden
- fix: Home macro fails when company name has comma (perlDreamer Consulting, LLC)
- fix: WSClient pagination variables. (DonorWare and perlDreamer Consulting, LLC)
7.3.8

View file

@ -15,6 +15,9 @@ save you many hours of grief.
Documentation on their use is in the online help and you can also
look at the default template for an example use.
* The c_companyName macro now uses HTML encodings for comma and
single quote to make it safe to embed inside other macros.
7.3.8
--------------------------------------------------------------------
* For those who upgraded to 7.3.7, any EventsCalendars (with their