KLibFactory preview of planned changes

koos vriezen koos.vriezen at gmail.com
Tue Oct 31 15:54:53 GMT 2006


2006/10/31, David Faure <faure at kde.org>:
> On Tue Oct 31 2006, koos vriezen wrote:
> > (the idea is that if baseurl is 'www.untrusted.com' and openURL is
> > '/etc/passwd', the plugin opens 'www.untrusted.com/etc/passd'
>
> That's really a web thing (http/html), I don't see the point in having this at the KParts
> level where things should be simpler - a url is a url. The caller can always use
> KUrl(baseUrl,newUrl) if he wants to.

Yes your right. I can only think of cases like
- a part isn't aware of being loaded by khtml and fails to interpret
the url correctly, or just
  simplifies the resolving. Probably just fixing the kparts would do.
- network apps working at a specific domain, like khtml/aggregator/media-apps(eg
  playlists))/kpdf can use kparts to show parts and want to set the domain as a
  restriction on its capabilities. But I can't think of a real case
for this where this would
  make a difference ..

Koos




More information about the kde-core-devel mailing list