0x5e / react-native-alipay

Alipay SDK for React Native. Support RN >= 0.47.
MIT License
198 stars 86 forks source link

When subject content contains '&' , alipay can't be successfully called. #52

Open ShirlyChenLaLaLa opened 4 years ago

ShirlyChenLaLaLa commented 4 years ago

dependence:

 "@0x5e/react-native-alipay": "^0.2.6",
"react-native": "0.60.4",

surmise:

An URL (Uniform resource locator) is a set of strings to define a location in the World Wide Web (www). It can also be used to pass information to the destination. Any word after the question mark (?) in a URL is considered to be a parameter which can hold values. The value for the corresponding parameter is given after the symbol "equals" (=). Multiple parameters can be passed through the URL by separating them with multiple "&".

When subject content contains '&' ,it will be consider as parameters. So alipay cannot be successfully called. Hope someone can fix this issue.