Subject: An open discussion list for topics related to the geteduroam service
List archive
- From: Stefan Paetow <Stefan.Paetow AT jisc.ac.uk>
- To: "cat-devel AT lists.geant.org" <cat-devel AT lists.geant.org>, "geteduroam AT lists.geant.org" <geteduroam AT lists.geant.org>
- Subject: Re: [[cat-devel]] A bug in CAT + geteduroam
- Date: Fri, 5 May 2023 20:34:09 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jisc.ac.uk; dmarc=pass action=none header.from=jisc.ac.uk; dkim=pass header.d=jisc.ac.uk; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CKGd8ARRHYbeAjPFsYp0n1EQ+T+QhjDwGA1NfnzHbhk=; b=E3FBaH0YsXFpUmmTYQ3TCiwYz385lzUwTP9R0dTirGuvZ4SWj0xeJAaux37Scm3H3RcoHH/gmttd9jpccBlyf1eY1/B0eeR8/s8d0hIDAyhp6p3nATme5MX7DtGdaKE+4uKl4GJNz8Y5UCPhCRdLpS9QDO6RNl33HY0vJuB7wUw841GK9kowKsAuR3xp3sBBpZbx962FN4OTA5Ru7hKrNkEgHeGyGdgZ4p0inM1rdM2uX142mWcdlZl0aSFVEFRURXBwNzbZ5EXsK5p2hSC7Bu/9lO5q9/TGKGBwDgc9IanqLKOqIknbtHkYM4OkmjkR8TD27n3IWyMZG4VHAqeLDA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P14JpUdkE8j2484lHEhPEXKlBY4DH4pMAgYOSbPoh7IAIzvpuycdCV63ASjuuTAbXF2/8yQUvqaLPV1stiv0v1TJYgAUKGoRuDI4wIJKiek5ziiAEVZm96S7iEVmjq6cKMB3g61u6HBZRUekLpsvSkVhuWIRdwsJFIZWM+DUIdujBYtOU5NYtDhQMGW6r7I6RHRmFZfxLcZ01CvjA9dLAq9E9t2IOq3CrjJIFgQl8YXpE33UdyYV0pl8zizd9GnVMYfv22U8uKKkqLkBbfTscg2vlHBqY2+wITzmKcbnRz+IZXYmFrdrUhA1zeqUicf8I4KRyWQ/OUwqPtSefJ1FcA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=jisc.ac.uk;
Brilliant, thanks Stefan.
And it's not really me, but rather one of our Welsh organisations.
:-)
Stefan Paetow Federated Roaming Technical Specialist eduroam(UK), Jisc
email/teams: stefan.paetow AT jisc.ac.uk gpg: 0x3FCE5142
On Mondays and Wednesdays, I am not available between 12:00 and 15:00. For eduroam support, please contact us via help AT jisc.ac.uk and mark it for the eduroam team’s attention.
jisc.ac.uk
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: 4 Portwall Lane, Bristol, BS1 6NB Tel: 020 3697 5800.
From:
<cat-devel-request AT lists.geant.org> on behalf of Stefan Winter <cat-devel AT lists.geant.org>
Hi,
my, you are good at finding corner cases :-)
You found this one: https://github.com/GEANT/CAT/blob/release_2_1/web/lib/admin/OptionParser.php#L371
Indeed, we only check whether the incoming data point is empty(), which in PHP is only true for 0-byte strings.
I'll modify the test towards doing a trim() first (https://www.php.net/manual/en/function.trim.php) which will also eliminate other funny whitespace such as tabs or newlines.
This would be in 2.1.1 then.
Greetings,
Stefan Winter
On 04.05.23 02:11, Stefan Paetow (via cat-devel Mailing List) wrote:
-- This email may contain information for limited distribution only, please treat accordingly. Fondation Restena, Stefan WINTER Chief Technology Officer 2, avenue de l'Université L-4365 Esch-sur-Alzette |
- A bug in CAT + geteduroam, Stefan Paetow, 05/04/2023
- Message not available
- Re: [[cat-devel]] A bug in CAT + geteduroam, Stefan Paetow, 05/05/2023
- Message not available
Archive powered by MHonArc 2.6.24.