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

List:       freeradius-users
Subject:    Re: More sanity checks in v3
From:       Arran Cudbard-Bell <a.cudbardb () freeradius ! org>
Date:       2015-04-29 2:25:02
Message-ID: 28A89F7B-345A-4D04-A855-81E3B51B11F4 () freeradius ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


> On 28 Apr 2015, at 12:45, Alan DeKok <aland@deployingradius.com> wrote:
> 
> On Apr 28, 2015, at 12:40 PM, Matthew Newton <mcn4@leicester.ac.uk> wrote:
>> I guess it's historical, but just wondering why unquoted strings
>> are permitted at all.
> 
>  Historical.
> 
>> Can they be removed in 3.1?
> 
>  Probably, yes.  Arran and I have had a number of discussions around this.
> 
>  Some unquoted strings should be allowed, where the context is clear.  e.g. the RHS of the following:
> 
> 	if (&NAS-Port-Id == 0)
> 
>  For the left side, using unquoted strings is almost always wrong.

You do type inference from the format of barewords, and leave strings as strings.

Integers are easy, but we might be able to do IPv4/IPv6 addresses/prefixes as well.

Arran Cudbard-Bell <a.cudbardb@freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2


["signature.asc" (signature.asc)]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.27
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVQED+AAoJEP+k1YKfttfKbdcP/RHYos+AykrnDPrFkMHRQI5a
vcwPNSP6ZN75awzK63QXCMa+X6Pf6LF7qU/nroK7O7QLqIZwUsd6Tquonp0qjW3Y
J4C/30kxwWsHQHIlH7W0M3cJiuz0IvyARnHD5IOmoSQdldj1dZo0+QqUebJlISjX
xwBqLT69t6r759anat/tjiAauPO2QTTwdCDoWHZbHJe+cQ3pPblvqm35bCUOVvo9
+7YHQJUOpCOXC1TWRebHOYX8lOW19JCILHsYZpNUspG08VxfrTFVOVxZ9QvtldhN
57wDECA7nHYfpjlfeg1Gqksrp27soFirdooF3wS1GKJGY2O/OcCuAqQfTbhMZtwy
7WvaIAYkf4YiieNNNo0+ZE5yr9JPlh+BaiXB342j19KpptJNCluSEdwgjR5tP8hP
xfrtS86BvnGGiLAZMEYCXHMR8wbzTO8xF0qo0JVecfCfwCdTR34B8UOVvQ4RT6Pi
vn6ySIX5M7bNEqfSf30h123+W6EnOxkZRaXNnerVhK99iQohrNV9uLVl5Vn7w750
DVwamJZ2fh0weccOmjtcKWhF0O9S8wy9ox0wjoMFvU9YBi/7dbErRVjT3ErlRDn+
wdJUPmgWSCqt3/GTZD8GnE0ARNf6TLfC2/lJCii0nM9oywu6ZeNegJ5tcTInqUca
N8Z/gRW2JIvO/9E8ElmU
=YHBz
-----END PGP SIGNATURE-----

[Attachment #6 (text/plain)]

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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

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