Resolve dmedia: URIs into file:// URIs

Bug #908979 reported by Jason Gerard DeRose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UserWebKit
Fix Released
High
Jason Gerard DeRose

Bug Description

Small change so that we can resolve dmedia: URIs into file:// URIs in the WebView 'resource-request-starting' handler.

For example, this would resolve a URI like this:

dmedia:TQVPUCFGL23KWPKPVDXP3BB2ZQWPTYMNDMR55QZZ5A2QLDBK

Into a URI like this:

file:///home/.dmedia/files/TQ/VPUCFGL23KWPKPVDXP3BB2ZQWPTYMNDMR55QZZ5A2QLDBK

And then call request.set_uri() with the new URI. I feel a bit silly I didn't think of this sooner, but better late than never!

Related branches

Changed in userwebkit:
assignee: nobody → Jason Gerard DeRose (jderose)
Changed in userwebkit:
status: In Progress → Fix Committed
Changed in userwebkit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.