felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Valchev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-3817) Form parameters might clash with configuration parameters
Date Fri, 17 Oct 2014 10:41:33 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Valentin Valchev updated FELIX-3817:
    Attachment: webconsole-FELIX-3817.patch

The attached patch fixes the problem while the REST API are still compatible.

Anyway, external applications, that would like to set a configuration that has one of the
following properties:
action, apply, delete, propertylist should prepend their names with dolar sign '$'. E.g:

apply=true; // REST API
$apply="Configuration Value"

What do you think about that solution?

> Form parameters might clash with configuration parameters
> ---------------------------------------------------------
>                 Key: FELIX-3817
>                 URL: https://issues.apache.org/jira/browse/FELIX-3817
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: webconsole-4.2.4
>         Attachments: webconsole-FELIX-3817.patch
> If a configuration has a property named "delete" or "propertylist" (and maybe there are
more) then this clashes with the form parameter names of the configuration web console plugin
and editing such a configuration is not possible.
> We should use more unique names, maybe namespaced somehow to reduce the potential of
a name clash

This message was sent by Atlassian JIRA

View raw message