Summary | Horde_Config should validate generated PHP |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Enhancement |
State | Accepted |
Priority | 1. Low |
Owners | |
Requester | chuck (at) horde (dot) org |
Created | 11/24/2005 (7111 days ago) |
Due | |
Updated | 11/09/2008 (6030 days ago) |
Assigned | |
Resolved | |
Milestone | |
Patch | No |
possible with
calling a PHP cli with the -l flag, but how to handle this
gracefully with the lots of
different places where it can be installed - if it is installed at all?
as opposed to a fatal error - we could eval() it. Since we require
admin access this might not be as bad a security risk as otherwise.
new type for PHP code that also validates the individual snippets so
that you can't enter something that's not valid on the right side of
an = expression in one of those fields.
user which field the error was in, if we lint each field we can.
should make sure the config file we're going to generate parses
before considering the form valid.
possible with calling a PHP cli with the -l flag, but how to handle
this gracefully with the lots of different places where it can be
installed - if it is installed at all?
new type for PHP code that also validates the individual snippets so
that you can't enter something that's not valid on the right side of
an = expression in one of those fields.
State ⇒ Accepted
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Horde_Config should validate generated PHP
Queue ⇒ Horde Framework Packages
should make sure the config file we're going to generate parses before
considering the form valid.
Also, to help achieve more specific error messages, we should add a
new type for PHP code that also validates the individual snippets so
that you can't enter something that's not valid on the right side of
an = expression in one of those fields.