Skip to content

Conversation

@ricardo-devis-agullo
Copy link
Collaborator

Remove dataType attribute, since it's not needed (it helps jquery convert to json if the server doesn't reply with the correct content-Type, but oc responds correctly), and creates a bug if parameters have double question mark as stated in their docs

In requests with dataType: "json" or dataType: "jsonp", if the string contains a double question mark (??) anywhere in the URL or a single question mark (?) in the query string, it is replaced with a value generated by jQuery that is unique for each copy of the library on the page (e.g. jQuery21406515378922229067_1479880736745).

@ricardo-devis-agullo ricardo-devis-agullo merged commit 4a44986 into master Sep 23, 2024
2 checks passed
@ricardo-devis-agullo ricardo-devis-agullo deleted the remove-datatype branch September 23, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants