Coder Social home page Coder Social logo

Comments (5)

avidas avatar avidas commented on September 6, 2024

Hey looks like an issue with the API, we will track this here and update once we have one

from paypal-node-sdk.

avidas avatar avidas commented on September 6, 2024

Hey so underscore is not an allowed character, after protocol://, the valid chars allowed are alphanumericals, ‘.’ and ‘-’

A more meaningful 4** error will be returned and documentation updated in a future release.

from paypal-node-sdk.

kevinmartin avatar kevinmartin commented on September 6, 2024

This doesn't make sense. Why can't the underscore be added to the list of allowed characters? This is a problem for my localized users then. At the moment, I have to do a hack, to re-route them to a non-localized site (ie. es_es.website.com to es.website.com), which is not an ideal situation for me...

This is also a problem for many other apps that have underscores in their subdomain name...

from paypal-node-sdk.

fagia avatar fagia commented on September 6, 2024

This is not an issue since underscores are not allowed in domain names:

http://en.wikipedia.org/wiki/Hostname

"The Internet standards (Request for Comments) for protocols mandate that component hostname labels may contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-')."

So your hostname es_es.website.com is not a valid hostname and the paypal error response is correct

from paypal-node-sdk.

Skemp45 avatar Skemp45 commented on September 6, 2024

so will this not affect you when using a subfolder as a return url such as mydomain.com/test_folder

from paypal-node-sdk.

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.