You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2010/12/05 14:08:11 UTC

[jira] Created: (CXF-3166) URITemplate should skip empty or null values when assigning values to template variables

URITemplate should skip empty or null values when assigning values to template variables 
-----------------------------------------------------------------------------------------

                 Key: CXF-3166
                 URL: https://issues.apache.org/jira/browse/CXF-3166
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.3.1
            Reporter: Sergey Beryozkin
             Fix For: 2.4


Expressions like

"/foo/{bar}{resource:(/format/[^/]+?)?}"

are not working in CXF 2.3.1 due to the change required to make expressions like

"/{resource:.+\\.(js|css|gif|png)}"

processed properly.

"/foo/{bar}{resource:(/format/[^/]+?)?}" was actually not processed properly even before 2.3.0, the match was successful but
the actual value of the "resource" var was incorrect


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-3166) URITemplate should skip empty or null values when assigning values to template variables

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-3166.
-----------------------------------

    Resolution: Fixed
      Assignee: Sergey Beryozkin

> URITemplate should skip empty or null values when assigning values to template variables 
> -----------------------------------------------------------------------------------------
>
>                 Key: CXF-3166
>                 URL: https://issues.apache.org/jira/browse/CXF-3166
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.3.1
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4
>
>
> Expressions like
> "/foo/{bar}{resource:(/format/[^/]+?)?}"
> are not working in CXF 2.3.1 due to the change required to make expressions like
> "/{resource:.+\\.(js|css|gif|png)}"
> processed properly.
> "/foo/{bar}{resource:(/format/[^/]+?)?}" was actually not processed properly even before 2.3.0, the match was successful but
> the actual value of the "resource" var was incorrect

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.