Coder Social home page Coder Social logo

crossorigin.me's People

Contributors

bellstrand avatar berniesumption avatar dpeukert avatar gitter-badger avatar greenkeeper[bot] avatar hyperobject avatar itsjw avatar kentongray avatar mathiasbynens avatar nathancahill avatar paquitosoft avatar schme16 avatar technoboy10 avatar tjvr avatar webjay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crossorigin.me's Issues

gzip in accept-encoding request header?

I'm making a request through crossorigin.me and receiving a gzipped response which is undesirable in my case. I assume your "Accept-Encoding" request headers are including "gzip" – is there any way to disable this? Would it make sense to disable it by default, or is this use case common for your users?

Regardless – thanks for this project!

Add charset option

When I fetch some data that contains accents of all sorts (hey, don't judge me, I speak french), the returned result messes up all the accents.

I have this piece of code client-side that fixes some problems, but it can't fix data coming back from the server:

$.ajaxSetup({ scriptCharset: "utf-8", contentType: "application/json; charset=utf-8" });

That would be a very nice addon to your awesome proxy.

  • Max

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38117789-add-charset-option?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

just a technicality: s/append/prepend/

on index.html

fun app. found the site, then noticed it was made in nodejs and that you published the code because you're awesome. so... keep doing that.

No Access-Control-Allow-Origin header

Hello,

First of all, thank you very much for having this service up and running.

I was using crossorigin.me for one tutorial I'm writing involving podcasts information and I discovered thant when I'm issuing request to one specific domain, the response does not include the expected Access-Control-Allow-Origin.

I found this problem with request to www.npr.org domain.

Here is a short list of podcasts feed URLs I'm having problems with:

 http://crossorigin.me/http://www.npr.org/rss/podcast.php?id=272112020
 http://crossorigin.me/http://www.npr.org/rss/podcast.php?id=510292
 http://crossorigin.me/http://www.npr.org/rss/podcast.php?id=510306

These are other podcasts feed URLs that show no problem:

http://crossorigin.me/http://feeds.feedburner.com/tiestos_club_life
http://crossorigin.me/http://static.aboveandbeyond.nu/grouptherapy/podcast.xml
http://crossorigin.me/http://songexploder.libsyn.com/rss    

Any idea about why the lack of the expected header?

Thanks.

MP4 error

IE9

Has anyone tried using this in Internet Explorer 9 and made it work?
tanks

Why is Access-Control-Allow in allowedOriginalHeaders.json?

This leads to the strange situation, where a source already sets a Access-Control-Allow-Origin header (e.g. to mydomain.com) and the proxy adds the Access-Control-Allow-Origin: *. This is something most browsers do not support and therefore the request fails.

I think the Access-Control-Allow* headers that the proxy sets, should not be passed through from the original source. WDYT?

Thanks, man!

Hey,

thanks for the free proxy! It's really really helpful for hacking stuff together, where I don't want to deal with running and coding something.

I could not find other contact to you, so I am writing here. :)

I will close this issue immediately

Partial content requests not supported.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31986989-partial-content-requests-not-supported?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

not working for google places

Just tried to circumvent cross origin request issues using the service but it doesn't seem to work. Somewhere I read that it is because Google won't serve data under http, but https... is there a way to fix that? Thanks!

Local file inclusion vulnerability

The proxy allows an attacker to read the contents of any file present on the server:

$ curl -s http://crossorigin.me//app/index.js | head -n 34 | tail -n 1
        res.write(fs.readFileSync(req.url.slice(1)));

didnt work with streams :/

im trying to use crossorigen.me but this is not working with stream files, can u help me?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37247778-didnt-work-with-streams?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

* wildcard and credentials flag

I wanted to use your http://crossorigin.me thingy with my couchdb revision tree visualizer. However, pouchdb shows the following error:

XMLHttpRequest cannot load http://crossorigin.me/daleharvey.iriscouch.com/grocery/?_nonce=1430764622203. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:8000' is therefore not allowed access.

Maybe you want to use some more advanced cors proxy that includes all the necessary headers?

The Service Seems Down

Hi I am trying to implement the functionality where I need to fix crossorigin issue. I found crossorigin.me useful in this category. But the site is giving below error.

Error 522 Ray ID: 2938b7d5a0fb2ddf • 2016-04-14 17:01:24 UTC
Connection timed out

Could you please intimate? Also share the up time so that I can make a decision whether to consider for app or not.

Thanks.

setting currentTime on audio files doesn't work

Hi! Not sure if this is the best place to put this, but I couldn't see an email address on your page. Firstly, thanks so much for putting this together – it's amazingly useful!

I've come across an issue when using crossorigin.me to fetch mp3 files from another server. When I try to set 'currentTime' to jump to a specific time, it resets it back to the beginning. Apparently this is due to the server needing to respond to byte range requests (see http://stackoverflow.com/a/9565178/4766571 and https://developer.mozilla.org/en-US/docs/Web/HTTP/Configuring_servers_for_Ogg_media#Handle_HTTP_1.1_byte_range_requests_correctly)

Is there any chance of implementing this?

Cheers!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29815045-setting-currenttime-on-audio-files-doesn-t-work?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

Error: Parse Error

Hello,

I have some parse error with some SHOUTcast servers, examples:

http://crossorigin.me/http://198.50.246.192:9903/7.html
http://crossorigin.me/http://38.110.126.103:1448/index.html

Working example: http://crossorigin.me/http://206.190.143.197:8113/index.html

What's the problem ?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29469441-error-parse-error?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

Restrict size of responses

Several people have been overusing/abusing the service by downloading >1MB files every second, leading to a 6TB bandwidth usage in January. I'm thinking that the best way to deal with this is to restrict the size of files passed through the proxy (which might also help prevent pirating uses of the proxy, which I don't want).

However, I have no clue how to code this restriction - anyone have any ideas?

Header contains multiple values

I am seeing the following now when using crossorigin.me.

XMLHttpRequest cannot load https://crossorigin.me/http://mydomain/api. The 'Access-Control-Allow-Origin' header contains multiple values '*, https://creator.ionic.io', but only one is allowed. Origin 'https://creator.ionic.io' is therefore not allowed access.

Did something change regarding the header? It was working fine before and I have confirmed nothing has changed on the Ionic Creator side of things.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40115687-header-contains-multiple-values?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

Crossorigin Status Reports

Idea for v2

Cross Origin is up and down the last few days. Maybe for v2 you can have crossorigin.me/status just like github status

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39833823-crossorigin-status-reports?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

crossdomain.xml

Hi.
I have been trying to get Nesbox to work with crossorigin.me (as a test). It runs AS3. I have looked in the browser console and it says it has tried to access http://crossorigin.me/crossdomain.xml, but there is a 500 error. Can this be fixed?
Thanks!

Enable HTTPS

Please make crossorigin.me available over HTTPS!

This way it can be used in HTTPS pages without triggering mixed content errors.

At the moment, the easiest way to do this for free is to enable Cloudflare (takes 5 minutes). Soon, you’ll be able to use Let’s Encrypt.

Getting issue of 500 after making it linked.

I am making one player with audio analyzer, But, it was getting CORS issue. So, i tried to use your link to access it like -- https://crossorigin.me/http://radio.streaminglive.eu:9058/;stream.mp3

But, it is giving some error like ==
HTTP load failed with status 500. Load of media resource https://crossorigin.me/http://radio.streaminglive.eu:9058/;stream.mp3 failed.

May you check and let me know the reason behind it?
The link is http://web-klocs.com/mpPlayer/

Thanks

Site down

Hi!

When I browse to https://crossorigin.me I get:

Error 521 Ray ID: 2ac87d989b7316ac • 2016-06-02 05:26:28 UTC
Web server is down

Could you have a look at it please?

Regards /Johan

Tests

@technoboy10: I was thinking that a small test suite (maybe written in Mocha) would be good to ensure that bugs and regressions don't creep in over time; depending on how into the idea you are, you (or I, if you're not sure how) could set up something like Travis CI or Wercker for auto-builds on commit/PRs; they both intergrate with
GitHub and let you know if a commit/PR is broken, and won't allow merging until it's been fixed, which is great!

I'm happy to sketch a few tests out and make a PR if that would help illustrate the idea, your thoughts?

Implement POST requests

No, and I'm pretty sure it shouldn't. If crossorigin.me supported those verbs, you could do some pretty messed up stuff.

That's, uh, not how it works. The requests would be sent from your end, and as you said, you don't forward cookies (even if you did, what's the worst they could do?).

In any case, nobody really uses PUT and DELETE anymore. People just gave up on the whole "semantic HTTP" thing and use GET/POST for everything—if you're lucky, they pay attention to idempotency.

POST requests, by the way, would be incredibly useful, since so many APIs listen to them.

Oh, and while I'm at it about security: you should either enable a legit SSL cert on your domain (non-free with Heroku) or tell folks that they can use atcors.herokuapp.com for secure connections. Otherwise they're open to mitming (again, what's the worst they can do?).

Site is down.

Site is currently sown

Error 521 Ray ID: 2a3f895132bb2012 • 2016-05-16 14:31:59 UTC
Web server is down

Support caching

Support browser caching by forwarding the appropriate headers

allow encoding (base64?)

It would be great if the users had the ability to bypass normal filters that check for specific patterns in the url, like "twitter.com", and this can be done in many ways

base64

say that after https://crossorigin.me/ we had something like b64:aHR0cHM6Ly90d2l0dGVyLmNvbQ==, that will evaluate to https://twitter.com, and the user can easily get it with btoa('https://twitter.com')

rot13

add a rot13 function for the users to call in the console (rather than explicitly in the page), so they can just rotate the characters and put the output of rot13('twitter.com:443') in https://crossorigin.me/r13:

polymorphic function

that changes every day or so, this way the url can't be checked easily, and you'd provide a function like rot13 that the user can look for in the JS code or by enumerating global variables

JSON Headers being wiped

I'm using this proxy to hit the CircleCI API, and to get JSON we need to add an Accept and Content-Type header.

When I do this, the proxy seems to wipe those headers? I attempted a self hosted version, and added those heads to the allowedOriginalHeaders.json file but with no success. I've also noticed that others are not having this problem, as those headers are available when they are displaying the details in other issues.

Am I doing something wrong, or missing a configuration step?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30960841-json-headers-being-wiped?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12536595&utm_medium=issues&utm_source=github).

Lies

"Domains arn't free you know"
You got this from github you liar :3

Memory leak

Code seems to eat up more and more memory the longer it runs. Maybe something to do with concurrent processing of requests?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.