Summary: | [testcase] Tabs in strings are interpreted as 8 spaces, thus substring(m, n) is off by a few characters | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Reinhold Kainhofer <reinhold> |
Component: | khtml parsing | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caioromao, finex, grundleborg, lunter, maksim |
Priority: | NOR | ||
Version: | 3.4.2 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Simple sample page to show the bug in kde 3.4 (and 3.5)
source patch |
Description
Reinhold Kainhofer
2005-10-29 17:41:23 UTC
Created attachment 13206 [details]
Simple sample page to show the bug in kde 3.4 (and 3.5)
*** Bug 115330 has been marked as a duplicate of this bug. *** This is a KHTML parser bug. The tabs are being expanded before they arrive at KJS. Confirmed even on konqueror 4.0.3 *** Bug 141122 has been marked as a duplicate of this bug. *** *** Bug 170401 has been marked as a duplicate of this bug. *** http://pc44.one.pl/goorol/bugs/kde_001.html IE, FF, Opera, Safari alert TRUE KHTML alerts FALSE because wrongly interprets TAB char (chr(9)) as spaces string! Created attachment 27357 [details]
source
Created attachment 27361 [details]
patch
First try at fix... Or rather, it fixes that, but exposes some other likely bugs that need to be sorted out before committing.
Fixed in r860109 |