Skip to main content

Bug Tracker

Side navigation

#14342 closed bug (notabug)

Opened September 07, 2013 11:44AM UTC

Closed September 07, 2013 01:53PM UTC

Last modified September 07, 2013 07:53PM UTC

"468" in ajax request url

Reported by: ivcho92@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

Testing with Chrome Version 29.0.1547.62 m

Trying to send request and it is supposed to fail with 404 or "Origin http://jquery.com is not allowed by Access-Control-Allow-Origin." for example. But request is not even made. Just rises exception.

$.get("http://localhost:3000/banner/468", function(c){
  alert( c );
});

... but this works as expected.

$.get("http://localhost:3000/banner/467", function(c){
  alert( c );
});
Attachments (0)
Change History (4)

Changed September 07, 2013 01:53PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

You'd need to debug this further on your own where it happens, there is almost NO information here and we certainly couldn't reproduce it given what's been given. Ask for help on a forum or StackOverflow where someone can walk you through some things to try. Possibly related to #14334 but again not easy to tell based on sketchy info.

Changed September 07, 2013 02:17PM UTC by anonymous comment:2

The bug is not specific to my application. I seems to explain it bad. Please, check this out.

[[Image(https://dl.dropboxusercontent.com/u/10864790/bug.jpg)]]

Changed September 07, 2013 07:06PM UTC by dmethvin comment:3

I definitely don't understand. Are you saying there is a problem with jquery.com? Where is the code that runs to give you that console output?

Changed September 07, 2013 07:53PM UTC by anonymous comment:4

Just run the code in your console. The jquery domain is just to illustrate that, what you load is not important. The problem is with URL that you want to request. If that URL ends with "banner/468", request makes error in jQuery soruce code and it is not even send. If url ends with "/banner/467", request is send and some HTTP error is recieved as expected. Try to run this by replacing jquery.com with google.com for example.

$.get("http://google.com/banner/468", function(c){
  alert( c );
});
// Error: GET http://google.com/banner/468 jquery.js:130
$.get("http://google.com/banner/467", function(c){
  alert( c );
});
// Still error but request is send.

I am totally confused.