Skip to content

stringprep_xmpp_nodeprep converts value as lowercase #9

Description

@hamzaozturk

+ (nullable NSString *)idn_prepNode:(NSString *)node

if(stringprep_xmpp_nodeprep(buf, sizeof(buf)) != 0) return nil;

This function causes value to be lowercase.

XMPPJID(string: "B9C897C3-1826-48EF-8BF1-6F957B741855@example.com")

if i init XMPPJID like above, it returns as

"b9c897c3-1826-48ef-8bf1-6f957b741855@example.com"

Is there a special reason that it converts node value as lowercase?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions