Ignore:
Timestamp:
2014-03-14T17:13:56+13:00 (10 years ago)
Author:
ak19
Message:
  1. The cgiargq query variable is now no longer escaped in the 3 simply or large forms that use it. fqv and other js escaped fields are unchanged, since the jssafe now ensures that backslashes are escaped for macro files, so these resolve correctly in query.dm. 2. securitytools.cpp and .h updated to additionally escape back slashes for macro files when javascript escaping. This is done by default, since jssafe variants of cgiargs are all that are used, and they're used in macro files. 3. Encoded versions of decodedcompressedoptions are now used in all macro files. They're always used in attributes, so the attrsafe version which is set in receptionist.cpp is used.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/macros/pref.dm

    r28888 r28898  
    511511
    512512<form name=PrefForm method=get action="_gwcgi_">
    513 <input type="hidden" name="e" value="_decodedcompressedoptions_">
     513<input type="hidden" name="e" value="_decodedcompressedoptionsAttrsafe_">
    514514_If_(_collectionoption_,_collectionprefs_)
    515515_presentationprefs_
Note: See TracChangeset for help on using the changeset viewer.