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

Robert Lazarski resolved AXIS2C-1532.
-------------------------------------
    Fix Version/s: 2.0.0
                       (was: 1.7.0)
       Resolution: Fixed

Summary of changes:                                                   
                                                                        
  1. Bug fix in                                                         
  src/core/transport/http/util/http_transport_utils.c:1778:             
    - Removed the condition && AXIS2_ESC_NULL != *tmp2 that was         
  incorrectly rejecting empty parameter values                          
    - Query strings like param1=value1&param2= now correctly include    
  param2 with an empty string value                                     
  2. Test suite in test/core/transport/http/test_axis2c_1532.cc:        
    - 8 test cases covering normal params, empty values, URL encoding,  
  etc.                                                                  
    - All tests pass                                                    
  3. Build fix in test/core/transport/http/Makefile.am:                 
    - Added -Wl,--no-as-needed linker flag to ensure shared library     
  dependencies are resolved correctly

> Last POST parameter is skipped when it has no value
> ---------------------------------------------------
>
>                 Key: AXIS2C-1532
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1532
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: 1.6.0
>            Reporter: Francesco Emmi
>            Priority: Major
>              Labels: patch
>             Fix For: 2.0.0
>
>         Attachments: patch.diff
>
>
> Suppose to reach an Axis service  using REST with a call like:
> your_service/your_method?param1=value1&param2=
> param2 will not be inserted into the parameters hash table and wont be sent 
> to the the service. This will cause that the correspondent method will not be 
> found



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to