[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [konqueror] [Bug 339015] New: encode / decode URI (Component) corrupted
From:       bugzilla77 <bugzilla77 () gmail ! com>
Date:       2014-09-11 16:12:30
Message-ID: bug-339015-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=339015

            Bug ID: 339015
           Summary: encode / decode URI (Component) corrupted
           Product: konqueror
           Version: 4.13.3
          Platform: Other
               URL: http://bugs.idsl.pl/konqueror/encodeURI,%20decodeURI,%
                    20encodeURIComponent,%20decodeURIComponent.html
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: kjs
          Assignee: konq-bugs@kde.org
          Reporter: bugzilla77@gmail.com

encode / decode URI (Component) throws error on 65534, 65535 charakters

Reproducible: Always

Steps to Reproduce:
<script type="text/javascript">
 document.write(encodeURI(String.fromCharCode(65534))+'<br/>')
 document.write(decodeURI('%EF%BF%BE').charCodeAt()+'<br/>')
 document.write(encodeURIComponent(String.fromCharCode(65535))+'<br/>')
 document.write(decodeURIComponent('%EF%BF%BF').charCodeAt()+'<br/>')
</script>

Actual Results:  
[empty screen]

Expected Results:  
Chrome, Firefox, Opera, Internet Explorer display:

%EF%BF%BE
65534
%EF%BF%BF
65535

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic