Copy the User-Name by value
authorAlan T. DeKok <aland@freeradius.org>
Mon, 1 Jun 2009 22:07:01 +0000 (00:07 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 1 Jun 2009 22:07:01 +0000 (00:07 +0200)
commit4381b3bdc4b5edbc0f46f2f76685a1c3496fa861
tree6e1d78721bf3eca484ce214c8c1f676f2a19dc28
parent9dd7ed412a12310914d2825acd28eb71759fa2a0
Copy the User-Name by value

The previous method treated the User-Name as a string, and parsed it
to create the User-Name for the reply.  However... if that happens,
it SHOULD print the User-Name to a string, and then parse that.
That way things like 'FOO\tbar' will get escaped to 'FOO\\tbar',
and therefore parsed properly.

Or, we could just copy the contents verbatim, which is what we did
src/modules/rlm_eap/rlm_eap.c