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

List:       kde-core-devel
Subject:    Re: KURL Patch
From:       Tobias Anton <TA () ESC-Electronics ! de>
Date:       2001-10-16 18:50:31
[Download RAW message or body]

On Saturday 13 October 2001 21:09, Carsten Pfeiffer wrote:
> On Samstag, 13. Oktober 2001 20:28 Frerich Raabe wrote:
> > Hi,
> >
> > I attached a patch for kurl.* which adds a method 'queryValue()', making
> > it possible to do stuff like
> >
> > KURL u = "http://www.foo.bar/yoyodyne.php?q1=a&q2=b";
> > cout << u.queryItem("q1") << endl; // prints 'a'
>
> If you have ?foobar=1?foo=2
> then queryItem("foo") will return 1 instead of 2. And ?foo= should return
> "" instead of QString::null, I think.
Multiple queries are not allowed AFAIK,
where in the internet can I find such URLs, i mean, do we really need to 
support them?
Why?

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

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