Closed tchapi closed 3 years ago
To fix that, maybe add an option to provide the credentials in base64 for instance ? Because having another delimiter would just break with passwords that contain this specific character anyway
Or support quoted credentials. But I think this is more convoluted and could lead to edge cases (I guess this functionality would be implemented with a little regex)
Hi @Sorunome
Any hint on that ? I'm happy to make a PR if you're ok with the base64 idea
BR
base64 encoding that doesn't seem user-friendly.
As the password is the last parameter it could just join all last parameters with a space and/or you can use regex splitting to only split at the first space?
You're right that it's not user-friendly. Are we sure that the login part cannot contain any whitespace character ? If this is the case, your solution if fine
absolutely no idea :/
As per the actual Microsoft register process, it's likely that the login is either [a-zA-Z1-9]
, or an email, so that should be fine !
Do you want me to make a PR for this ?
if you want to, it'd be great!
Do you want me to make a PR for this ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub[https://github.com/Sorunome/mx-puppet-skype/issues/15#issuecomment-768498587], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AASSEVHC4KW4YDWKXCI5VVTS4BOMNANCNFSM4WOG5RJQ]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAArSURBVHic7cEBDQAAAMKg909tDjegAAAAAAAAAAAAAAAAAAAAAAAAAAA+DFFIAAEctgHwAAAAAElFTkSuQmCC###24x24:true###][Sledovací obrázek][https://github.com/notifications/beacon/AASSEVHUTSUGNAGYQAZM5I3S4BOMNA5CNFSM4WOG5RJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXHFXGY.gif]
I'll let you review https://github.com/Sorunome/mx-puppet-skype/pull/16 and test it to see if it works well for you :)
Hello
Skype accounts with passwords with a regular space (
) in it does not work. I think this is due to:
https://github.com/Sorunome/mx-puppet-skype/blob/0255283d5aebbc8340d9f1ed389e3d91960925fe/src/index.ts#L120
I have tested to put the password in quotes but to no avail (which is pretty logical I suppose)
Thanks a lot ! Best regards