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

CORS Support #352

Closed
IJustDev opened this issue Oct 15, 2020 · 7 comments
Closed

CORS Support #352

IJustDev opened this issue Oct 15, 2020 · 7 comments
Labels

Comments

@IJustDev
Copy link

Hey there!

First of all thank you for this beautiful project. It's the easiest way I can imagine to share code and it helped me a lot.

I would like to use Hastebin in my project. Unfortunately the CORS request is failing. I would love to implement the CORS functionality to this server.

I've went through already closed issues and found #47 which seems similar.

IJustDev added a commit to IJustDev/haste-server that referenced this issue Oct 15, 2020
Javascript browser clients can now use hastebin.

Fix toptal#352 Fix toptal#47
@seejohnrun
Copy link
Contributor

Hello are you looking to write data into a paste, or read data from an existing paste?

@IJustDev
Copy link
Author

I am trying to create a new paste and read an existing one from an javascript client.

@codekrafter
Copy link

I am running into the same problem with CORS, any progress on supporting CORS? #353 looks like it could fix it.

@SilverCory
Copy link

Just a point to note, this could be used maliciously to gain more anonymity, not to mention potential abuse to overload the server as use for hosting such scripts.

@codekrafter
Copy link

There is already an API, this just lets web clients use it. I don't see how that allows any more malicious use as any malicious program could simply use a CORS proxy or call the API some other way

@github-actions
Copy link

github-actions bot commented Mar 8, 2022

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Mar 8, 2022
@github-actions
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

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

Successfully merging a pull request may close this issue.

4 participants