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

URL corrupted by domino (ajax) #5

Closed
jacomyma opened this issue Feb 12, 2013 · 1 comment
Closed

URL corrupted by domino (ajax) #5

jacomyma opened this issue Feb 12, 2013 · 1 comment
Labels

Comments

@jacomyma
Copy link

When trying to make an ajax call to a URL with a port, the column is stripped and it fails.
Example: trying to send a post to:
http://fake.fr:6966/
Result: the post fails with this message:
POST http://fake.fr6966/

The issue comes from the loop at this point of the code:
https://github.com/jacomyal/domino.js/blob/master/src/domino.js#L579
(I tested that before, the URL is OK and after, it is corrupted).

@jacomyal
Copy link
Owner

Oops, indeed:
The default shortcut prefix is ":", and it seems to be removed when the shortcut does not match anything.

I'll take care of that ASAP, thanks a lot!

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

No branches or pull requests

2 participants