Re: [PATCH 01/10] viruri: Search params case insensitively

2023-02-06 Thread Michal Prívozník
On 2/6/23 16:02, Peter Krempa wrote: > On Mon, Feb 06, 2023 at 10:16:49 +0100, Michal Privoznik wrote: >> Our URI handling code (doRemoteOpen() specifically), uses case >> insensitive parsing of query part of URI. For instance: >> >> qemu:///system?socket=/some/path >>

Re: [PATCH 01/10] viruri: Search params case insensitively

2023-02-06 Thread Peter Krempa
On Mon, Feb 06, 2023 at 10:16:49 +0100, Michal Privoznik wrote: > Our URI handling code (doRemoteOpen() specifically), uses case > insensitive parsing of query part of URI. For instance: > > qemu:///system?socket=/some/path > qemu:///system?SoCkEt=/some/path > > are the same URI. Even though

[PATCH 01/10] viruri: Search params case insensitively

2023-02-06 Thread Michal Privoznik
Our URI handling code (doRemoteOpen() specifically), uses case insensitive parsing of query part of URI. For instance: qemu:///system?socket=/some/path qemu:///system?SoCkEt=/some/path are the same URI. Even though the latter is probably not used anywhere, let's switch to STRCASEEQ() instead