https://bz.apache.org/ooo/show_bug.cgi?id=126731

          Issue ID: 126731
        Issue Type: DEFECT
           Summary: Basic ConvertToURL fails to URL encode many characters
           Product: App Dev
           Version: 4.1.2
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: scripting
          Assignee: [email protected]
          Reporter: [email protected]

OK: ConvertToURL("C:\Foo Bar") --> file:///C:/Foo&20Bar
Fail: ConvertToURL("C:\Foo&Bar") --> file:///C:/Foo&Bar
Expected: ConvertToURL("C:\Foo&Bar") --> file:///C:/Foo&26Bar

Problem occurs with characters
!
$
&
'
(
)
*
+
,
/
:
=
@

ConvertToURL correctly encodes the follwing characters:
<space> 
"
#
%
;
?
[
\
]
{
|
}


Reference:
https://tools.ietf.org/html/rfc3986#page-12

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to