You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Senaka Fernando (JIRA)" <ji...@apache.org> on 2008/02/28 17:57:57 UTC

[jira] Created: (AXIS2C-1019) axutil_uri_parse_string() treats home.netscape.com as path.

axutil_uri_parse_string() treats home.netscape.com as path.
-----------------------------------------------------------

                 Key: AXIS2C-1019
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1019
             Project: Axis2-C
          Issue Type: Bug
          Components: util
    Affects Versions: 1.3.0
            Reporter: Senaka Fernando
            Assignee: Senaka Fernando


axutil_uri_parse_string() treats home.netscape.com as path. This violates RFC2396. An example is given in Annex B.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-1019) axutil_uri_parse_string() treats home.netscape.com as path.

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573356#action_12573356 ] 

Senaka Fernando commented on AXIS2C-1019:
-----------------------------------------

This is rather a relative URI according to 3.1. Scheme Component, in RFC2396, [1]. Since axutil_uri_parse_string is designed to parse absolute URI's this must either be recognized explicitly as a relative URI or the relevant axutil_uri_parse_relative() method must be used.

I believe that since this portion has been a part of our API, we might lead into trouble when trying to fix this bug if someone blindly used axutil_uri_parse_string() followed by axutil_uri_to_string() where the output and the input are the same.

[1] http://www.rfc.net/rfc2396.html

> axutil_uri_parse_string() treats home.netscape.com as path.
> -----------------------------------------------------------
>
>                 Key: AXIS2C-1019
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1019
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 1.3.0
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>
> axutil_uri_parse_string() treats home.netscape.com as path. This violates RFC2396. An example is given in Annex B.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-1019) axutil_uri_parse_string() treats home.netscape.com as path.

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

Senaka Fernando resolved AXIS2C-1019.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: Current (Nightly)

Fixed Issue

> axutil_uri_parse_string() treats home.netscape.com as path.
> -----------------------------------------------------------
>
>                 Key: AXIS2C-1019
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1019
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 1.3.0
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>             Fix For: Current (Nightly)
>
>
> axutil_uri_parse_string() treats home.netscape.com as path. This violates RFC2396. An example is given in Annex B.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Issue Comment Edited: (AXIS2C-1019) axutil_uri_parse_string() treats home.netscape.com as path.

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573356#action_12573356 ] 

senakafdo edited comment on AXIS2C-1019 at 2/28/08 9:32 AM:
------------------------------------------------------------------

This is rather an Abbreviated URL according to Annex F, in RFC2396, [1]. Since axutil_uri_parse_string is designed to parse absolute URI's this must either be recognized explicitly, and we will have to support that. The recognition of such could be implementation specific.

I believe that since this portion has been a part of our API, we might lead into trouble when trying to fix this bug if someone blindly used axutil_uri_parse_string() followed by axutil_uri_to_string() where the output and the input are the same.

[1] http://www.rfc.net/rfc2396.html

      was (Author: senakafdo):
    This is rather a relative URI according to 3.1. Scheme Component, in RFC2396, [1]. Since axutil_uri_parse_string is designed to parse absolute URI's this must either be recognized explicitly as a relative URI or the relevant axutil_uri_parse_relative() method must be used.

I believe that since this portion has been a part of our API, we might lead into trouble when trying to fix this bug if someone blindly used axutil_uri_parse_string() followed by axutil_uri_to_string() where the output and the input are the same.

[1] http://www.rfc.net/rfc2396.html
  
> axutil_uri_parse_string() treats home.netscape.com as path.
> -----------------------------------------------------------
>
>                 Key: AXIS2C-1019
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1019
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 1.3.0
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>
> axutil_uri_parse_string() treats home.netscape.com as path. This violates RFC2396. An example is given in Annex B.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org