Ticket #773 (closed defect: duplicate)
Ampersand in TForm action
| Reported by: | aca | Owned by: | xue |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1.2 |
| Component: | Prado Framework v3 | Version: | 3.1 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
The form action need to replace & with & so the code can w3 validate.
Line 50 in TForm.php is $writer->addAttribute('action',$this->getRequest()->getRequestURI());
and can be changed to somthing like this:
$writer->addAttribute('action',str_replace('&', '&', $this->getRequest()->getRequestURI()));
Change History
Note: See
TracTickets for help on using
tickets.
