14 Sep
2023
14 Sep
'23
8:02 p.m.
Thank you g4-lisz for all the follow-up. It was very helpful. On 2023/09/13 22:09, g4-lisz@tonarchiv.ch wrote: > P.S. IMHO this behavior comes from getthing() in src/lib/token.c > > September 13, 2023 2:00 PM, g4-lisz@tonarchiv.ch wrote: > >> Alan, >> >> but he's right! The behavior is really not as one would expect. At least different from a shell and >> C: >> >> "some\word" in config => some\word >> "some\\word" in config => some\\word >> >> "some\\\"word" in config => some\\"word (in a shell or C this would be the one) >> >> So how to escape some\"word? >> "some\\"word" in config => syntax error >> >> It only works with single quotes... >> >> Cheers >> >> September 13, 2023 1:35 PM, "Alan DeKok" <aland@deployingradius.com> wrote: >> >>> On Sep 12, 2023, at 11:31 PM, 平林 哲 <Satoshi.Hirabayashi@soliton.co.jp> wrote: >>> >>>> Summary of results. >>> >>> You keep posting this. Why? >>> >>> Doing that means you're stuck on one part of the problem. You should instead work towards >>> understanding the problem, which is more likely to lead you to a solution. >>> >>>> I feel that this behaviour is not correct. >>> >>> You're wrong. I explained why. Go back and read the messages. >>> >>>> Is there any way to correct this behaviour? >>> >>> You have source code. You can fix it if you don't like the behavior. >>> >>> We are not going to change the behavior of FreeRADIUS for everyone on the planet because you don't >>> agree with 30+ year-old rules on string quoting and escaping. >>> >>> Alan DeKok. >> >> - >> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html