Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon API > Broken encoding for the GetUserInfo operation

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon API  /

Broken encoding for the GetUserInfo operation

[Shalaev, Pavel]
Pavel Shalaev
Newbie
Newbie
Posts: 9
Pavel Shalaev - 12:55am, Sep 2 2021

Hello!

When I try to perform the GetUserInfo operation for some accounts the FullName attribute has a broken encoding. This can be seen in the screenshot.

Attachments:

Brocken encoding.png (65 KB)


  (older msg: 4)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Pavel Shalaev - Sep 3, 2021 1:14 am (#5 Total: 8)  

 

Photo of Author
Pavel Shalaev
Newbie
Newbie
Posts: 9
The lines are copied from the UserList.dat file, because they are displayed correctly there. The installation language is Russian. This is a problem with only a few accounts. It is possible that the encoding breaks with certain letter combinations. For example, if you use a combination of Russian characters '' or ''. If you remove one letter from the word, the account is displayed correctly via the XML API.


No broken encoding


Brocken encoding2

Keith Personett (apparently) - Sep 3, 2021 11:48 am (#6 Total: 8)  

via email  

Photo of Author
Keith Personett
Newbie
Newbie
Posts: 76

Pavel,

 

Ok, we’ve determined the issue…

 

That string tests positive as UTF-8 within our xml implementation (even though it is not truly valid UTF-, so it is not getting converted… which produces garbage characters when emitted.

 

We have a solution which should be in the next 21.5 Beta which most likely is due out next week. If you are not a member of our Beta-Testing Community, I would highly recommend it.

 

https://www.altn.com/Products/Beta-Testing/

 

If you are using Secure Authentication, so that no passwords are in your userlist.dat, I would very much like to get a subset of your userlist.dat that contains just the records that cause problems. If you could zip up that data and upload it to our ftp server, it would be greatly appreciated and would help us avoid this problem in the future. If not using Secure Authentication, you could fill the password fields with spaces.

 

ftp server credentials

 

Server: r2d2.altn.com

Logon: Uploader

Password: incoming

 

 

Keith Personett

Senior Software Developer, Cerebro Calibration Specialist, Agent of S.H.I.E.LD., Helicarrier Systems Analyst

MDaemon Technologies http://www.mdaemon.com/ or on Facebook

Sent using Outlook 2013 via ActiveSync Services for MDaemon Messaging Server.

 

"You get hurt, hurt 'em back. You get killed... walk it off!"

                - Steve Rogers/Captain America


--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion.  MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------

Pavel Shalaev - Sep 8, 2021 12:38 am (#7 Total: 8)  

 

Photo of Author
Pavel Shalaev
Newbie
Newbie
Posts: 9
The UserList.dat file with data about problematic accounts was uploaded to your ftp server.

Keith Personett (apparently) - Sep 8, 2021 9:55 am (#8 Total: 8)  

via email  

Photo of Author
Keith Personett
Newbie
Newbie
Posts: 76

Thank you


--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion.  MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------



  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.