Skip to content

Conversation

@jbdietrich
Copy link
Contributor

In many cases, Base64 encoding function in the IIS/AD bundle didn't work for names with multibyte characters. I replaced the contents of the base64.asp utility with the function here and added a UTF-8 encoding function in the AD script itself.

cc: @jcheatham, @morten, @pdeuter

@jcheatham
Copy link

Code looks good, though indentation needs some love, and I'm not sure if the comments really help here, doesn't really feel like they add anything above/beyond what the code's already doing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to line up with what's being done in the line above...
1<<12 is 4096 and 224 != 234 :)
Maybe a simple function to help test & sanity check the encoding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants