WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
46999
[Qt] The default path of HTML5 QWebSettings::enablePeristentStorage violates Symbian Platform Security
https://bugs.webkit.org/show_bug.cgi?id=46999
Summary
[Qt] The default path of HTML5 QWebSettings::enablePeristentStorage violates ...
George Guo
Reported
2010-10-01 11:35:17 PDT
Usually application does not have ALLFILE capability in Symbian If the application has no ALLFILE capability, tried to enable persistentStorage in Symbian with this function call: QWebSettings::enablePersistentStorage(); Application will get this following error: 04:52:12.697 PlatSec ERROR - Capability check failed - A Message (function number=0x00000016) from Thread NokiaBrowser[10008d39]0001::NokiaBrowser, sent to Server !FileServer, was checked by Thread efile.exe[100039e3]0001::Main and was found to be missing the capabilities: AllFiles . Additional diagnostic message: Entry
Attachments
Patch for the solution.
(1.32 KB, patch)
2010-10-04 07:08 PDT
,
George Guo
hausmann
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
George Guo
Comment 1
2010-10-02 05:03:14 PDT
solution patch is on the way
George Guo
Comment 2
2010-10-04 07:08:33 PDT
Created
attachment 69630
[details]
Patch for the solution. The default path on Symbian is c:\private\uid, the makedir then will change c:\private which is out the control of the application process. On symbian a process can only change your own process/uid area with out ALLFILE capability. By adding additional path so it becomes c:\private\uid\StoragePath, then makedir will only change c:\private\uid which is completely in control of the application because it's in it's uid area.
Andreas Kling
Comment 3
2010-10-04 11:41:56 PDT
Comment on
attachment 69630
[details]
Patch for the solution. Please tick the "patch" checkbox when uploading patches. :-)
Simon Hausmann
Comment 4
2010-10-05 07:07:34 PDT
This is actually a bug in QDir::mkpath, which can now be tracked at
http://bugreports.qt.nokia.com/browse/QTBUG-14255
Simon Hausmann
Comment 5
2010-10-05 07:08:59 PDT
Comment on
attachment 69630
[details]
Patch for the solution. This should really be fixed in Qt. I don't think appending "StoragePath" on all platforms for this rather minor Symbian specific glitch is the best way to fix this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug