[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: quanta [POSSIBLY UNSAFE]
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-12-08 20:36:42
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> > Yes, ~ is interpreted by the shell and expanded to your home dir, pretty much 
> > like ${HOME}. Quoting it disables that.
> > 
> > If such arguments are provided by the user and constructs like ~/.kderc are 
> > still supposed to work, then I would just leave it unquoted. 
> > 
> that cries for
> QString [insert your preferred file handling class here]::
>    expandFilename(const QString &name);
> that function would expand ~/ and ~<user>/ constructs.
Indeed.

> don't we already have this somewhere?
AFAIK only as part of the short uri filter (kdebase/kcontrol/ebrowsing/plugins/shorturi)

- -- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9861a72KcVAmwbhARAhkyAJoDQWoUlZacHwIQLayGYX1cgQWNugCfQ5oA
M+s3Q0aeliQ16nG5v5ZHu0Q=
=nf20
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic