7 Mar
2017
7 Mar
'17
11:28 a.m.
On Mar 7, 2017, at 11:15 AM, Stefan Paetow <Stefan.Paetow@jisc.ac.uk> wrote:
Everything so far, so good. Then I ask him to use a random string as the salt (which contained a closing curly bracket). The output was definitely *not* what was expected. This example below (salt = 'changeme}') illustrates the problem:
Yes, you need to escape curly close braces in xlat expansions.
Would it be safe to say that if I add another check into the output to send a reject if the output contains a { or a } (which it never should), it should be acceptable?
I'm pretty sure it's only an issue if it's '}'. But sure... -Arran Arran Cudbard-Bell FreeRADIUS Core Developer FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2