Changeset 5172ac9 in github
- Timestamp:
- Sep 21, 2011 8:16:01 AM (20 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.7, release-0.8
- Children:
- 5f71297
- Parents:
- 7f03884
- File:
-
- 1 edited
-
program/include/rcube_template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_template.php
r497013f r5172ac9 354 354 $this->add_script($js, 'head_top'); 355 355 356 // make sure all <form> tags have a valid request token357 $template = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $template);358 $this->footer = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $this->footer);359 360 356 // send clickjacking protection headers 361 357 $iframe = $this->framed || !empty($_REQUEST['_framed']); … … 437 433 438 434 $output = $this->parse_with_globals($hook['content']); 435 436 // make sure all <form> tags have a valid request token 437 $output = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $output); 438 $this->footer = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $this->footer); 439 439 440 440 if ($write) {
Note: See TracChangeset
for help on using the changeset viewer.
