Coder Social home page Coder Social logo

Comments (4)

mooreds avatar mooreds commented on June 9, 2024

Seems like a bug to me, at least in the documentation.

from fusionauth-typescript-client.

zadigus avatar zadigus commented on June 9, 2024

The same happens in the python client. I have not tested the other clients, but I would presume this little detail is present everywhere.

from fusionauth-typescript-client.

robotdan avatar robotdan commented on June 9, 2024

If we have a host ending in a / in the doc, that would be a bug, did you find that somewhere?

But the symptom you're observing is working as designed. https://auth.shopozor is not equal to https://auth.shopozor/ and are considered discrete URLs. In some cases, web servers will ignore duplicate forward slashes in the URL path.

We could explore modifying our MVC to ignore duplicate forward slashes in the URL path, but it would be a low priority item. This issue is not related to the client library, but our MVC in the FusionAuth service that handles mapping the URL to a resource.

from fusionauth-typescript-client.

zadigus avatar zadigus commented on June 9, 2024

Ok. It's not crucial for me. I can live with that. I have not found hosts ending with / in the doc (I haven't looked at that in particular). To me, it's just a bit strange because both urls are valid (with or without the trailing slash), so I'd expect the code to work the same. It's a detail in the end.

from fusionauth-typescript-client.

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.