Modify ↓
Ticket #8116 (closed bug: worksforme)
sending "+" char using $.ajax to PHP
| Reported by: | dio | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | ajax | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Hello,
I am trying to send "+" char using $.ajax method to PHP. The result is that $.ajax is replacing the + with interval. I tried to encodeURIComponent, serialization. When I use base64 encode/decode there is no problem. But still the $.ajax method is replacing the + char with interval and I think its a bug.
Looking forward for your response.
Have a nice day.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Thanks for taking the time to contribute to the jQuery project by writing a bug report.
After checking your report I made this test case but can't seem to reproduce your issue. The + characters is correctly encoded as %2B. Maybe there is some problem in your decoding code on the server side.