Jeff, on 24 March 2012 - 01:25 PM, said:
I'm going to do this in the next set of E updates for sure - going to go ahead and file a bug report with Midori as well right now. Thanks for doing the leg work on this one ylee.
This is an update for those interested. (Jeff already knows this, but I am posting it for the community):
It does appear to be a bug with midori related to this patch
However, it appears the way xdg-open handles this case has changed in xdg-open 1.1.0~rc1 and Midori functions correctly with xdg-utils 1.1.0~rc1 installed instead of our current version. In my limited brief testing. This is probably why the Midori developers did not notice the bug with the patch above and older versions of xdg-utils.
So at this point I am not sure whether to call it a bug with Midori or with xdg-utils. I suppose if backwards compatibility is desired by the Midori developers then it is a Midori bug. If they are like some developers and say one should have updated libraries and stuff then it is a bug with xdg-open.
If updating to xdg-utils 1.1.0~rc1 does not break things then perhaps that would be a better fix. Hopefully Jeff posting a bug report on this issue will prompt the Midori devs to fix this as I would suspect many users are using older versions of xdg-utils like we are. Either way I hope we have a fix for Bodhi 1.4 soon as possible.
Midori devs definitely consider it a bug with midori as midori /path/to/file.html
does not work as expected.