Ticket #324 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Templates with .php extension generate error: msReturnPage(): Web application error. Malformed templatename.

Reported by: gbickford@netacus.com Assigned to: 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."

Change History

07/10/03 00:48:03 changed by dmorissette

  • status changed from new to closed.
  • resolution set to fixed.
Fixed in V4.0