Opened 21 years ago
Closed 21 years ago
#324 closed defect (fixed)
Templates with .php extension generate error: msReturnPage(): Web application error. Malformed templatename.
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer C Library | Version: | 4.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
When a map or layer object is given a template, header, or footer value in which the file extension is 'php' mapserver generates the following error: msReturnPage(): Web application error. Malformed templatename. The following diff output may help you in resolving this issue: diff -r1.241 map.h 77c77 < #define MS_TEMPLATE_EXPR "\\.(jsp|asp|cfm|xml|wml|html|htm|shtml|phtml)$" --- > #define MS_TEMPLATE_EXPR "\\.(jsp|asp|cfm|xml|wml|html|htm|shtml|phtml|php)$" "Flectere si nequeo superos, acheronta movebo."
Note:
See TracTickets
for help on using tickets.