Il giorno mar, 30/11/2010 alle 10.37 -0200, Leandro Pereira ha scritto:
> On Mon, Nov 29, 2010 at 10:09 PM, Marco Trevisan (Treviño)
> <mail@...> wrote:
> > In previous patches I forgot to use the file absolute path when
> > processing a file:// schema. Webkit doesn't work with relative paths, so
> > this is needed for opening something with "eve my_file.html"
> Applied with minor changes -- ecore_file_realpath() returns a
> newly-allocated string so it must be properly freed.
I've also another version for this function, this one supports any
protocol, following the syntax rules stated by the RFC 3986 considering
everything that precedes a semicolon (:) as the schema, and the rest as
the path (this allows to get working about:* pages too, also if
webkit-efl doesn't seem to support them yet). However I had to check
that the "parsed" schema was not actually a port number or a password
(with urls like http://www.google.com:80 or http://user:pwd@...> ;)
All the cases I've tested seem to work, let me know what you think.