Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$.get - incorrect url built #1745

Closed
CmPi opened this issue Mar 27, 2021 · 4 comments
Closed

$.get - incorrect url built #1745

CmPi opened this issue Mar 27, 2021 · 4 comments
Milestone

Comments

@CmPi
Copy link

CmPi commented Mar 27, 2021

Describe the bug

$.get(url, data, options) works fine whith data if url does not contain "?"
but if called with an url like toto.php?a=0 and data= { b: 0 } the called url is toto.php?a=0?b=0

Expected behavior
check if "?" is present in the url and add data with "&" instead of "?"

@xscode-auto-reply
Copy link

Thanks for opening a new issue. The author has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/olton/Metro-UI-CSS or Patreon

@olton olton added the bug label Mar 27, 2021
@olton olton added this to the 4.5.0 milestone Mar 27, 2021
@olton
Copy link
Owner

olton commented Mar 27, 2021

Thank you

@olton
Copy link
Owner

olton commented Mar 27, 2021

Fixed in 4.5.0

@olton olton added the Fixed label Mar 27, 2021
@CmPi
Copy link
Author

CmPi commented Mar 28, 2021

Fixed in 4.5.0

Many thanks

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

No branches or pull requests

2 participants