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

Allow a way to store code in the url. #25

Open
mattkatz opened this issue Jun 19, 2014 · 1 comment
Open

Allow a way to store code in the url. #25

mattkatz opened this issue Jun 19, 2014 · 1 comment

Comments

@mattkatz
Copy link

I'd like to be able to open editr in the browser.
Then I'd like to type in the 3 panels.
As I type in the three panels I'd like to see the url change to reflect the code I've typed.
If I share that URL with someone I'd like to see that they can open the editr and see the same thing I currently see.
If they correct some of my code or make a change, they should see that URL change.
I think this could be done by putting the data uri of the code in the url string.
If they send me the new URL I could see the changes they've made and and then I can choose to run it.

I would worry about someone programmatically putting malicious code in a url, then sharing that with people - I wouldn't want to be a vector for nasty actions. One check to that might be to have a secret salt and hash the url so that it isn't something malicious people can programmatically exploit.

@mattkatz
Copy link
Author

btw - I also really like the progress so far on editr - I hope you take some time to progress it a bit farther!

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

No branches or pull requests

1 participant