Modify ↓
Ticket #10126 (closed bug: invalid)
but in ajax function
| Reported by: | freeman.aka.ahmed@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | ajax | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I find bug in a $.ajax function. Just try load a this code on any page:
$.ajax({'url':'/advertisements/'});
This URL has error.. I find this error in 1.5.2 and 1.6.2 jQuery versions.
Please, fix this bug: my site uses this url..)
Change History
comment:1 Changed 21 months ago by timmywil
- Priority changed from undecided to low
- Resolution set to invalid
- Status changed from new to closed
- Component changed from unfiled to ajax
comment:2 Changed 21 months ago by anonymous
You not understand me!
Try execute this code on any page:
$.ajax({'url':'/advertisements/'});
If using this URL ("/advertisements/"), ajax is not working!
If try use a $.ajax({'url':'/advertisementss/'}), funciton works fine!
See example: http://jsfiddle.net/sajid/GFu5Z/
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.

Seems to work fine: http://jsfiddle.net/timmywil/v7NUB/
If the bug can be reproduced, please provide a reduced test case.