Giter VIP home page Giter VIP logo

Comments (7)

waahm7 avatar waahm7 commented on June 23, 2024

Hi,

Thank you for reporting the issue. We are looking into it. Could you please specify the service to which the failing requests were made? Thank you.

from aws-crt-swift.

Jeffrey-Chau-Leo avatar Jeffrey-Chau-Leo commented on June 23, 2024

We are using amplify-swift.

Specifically calling confirmSignUp followed by signIn

from aws-crt-swift.

waahm7 avatar waahm7 commented on June 23, 2024

@Jeffrey-Chau-Leo, thank you for the update. I asked because this can only fail when the headers contain non-ASCII characters. Since there is no standardization for which encoding to use for headers, we are discussing multiple approaches.

from aws-crt-swift.

waahm7 avatar waahm7 commented on June 23, 2024

@Jeffrey-Chau-Leo Do you know of any cases where the headers for SignUp or SignIn might have non-ASCII characters, perhaps as part of a username or something similar? We are thinking about limiting it to ASCII characters only and ignoring the rest.

from aws-crt-swift.

Jeffrey-Chau-Leo avatar Jeffrey-Chau-Leo commented on June 23, 2024

@waahm7

Unfortunately, yes, we may have users who have non-ASCII characters in their usernames.

from aws-crt-swift.

waahm7 avatar waahm7 commented on June 23, 2024

This is fixed in https://github.com/awslabs/aws-crt-swift/releases/tag/0.23.0. We have made the following improvements:

  • Fixed some bugs in our encoding/decoding logic around UTF-8. UTF-8 should now work properly.
  • For encodings other than UTF-8, we now try to decode using UTF-8 instead of force decoding and replace invalid bytes with the missing byte symbol (�).

from aws-crt-swift.

github-actions avatar github-actions commented on June 23, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

from aws-crt-swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.