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
Generate URL safe tokens from Phoenix.Token #1257
Comments
We should fix this in Plug. :) |
And or maybe add a new fn to URI — On Wed, Oct 7, 2015 at 6:22 PM, José Valim notifications@github.com
|
Elixir is fine, it has everything we need. We just need to use url_encode64/url_decode64 in Plug. |
Handling this in Plug will break backwards compatibility. I know there are a few people using Plug's crypto stuff to be able to share cookies with Rails apps. Since the tokens generated from Plug are generally used in cookies, it feels slightly out of place for Plug, IMHO. |
We can easily maintain compatibility with Plug by using |
@josevalim ok, that sounds good. 👍 |
I'll take care of this in Plug. |
ping @scrogson . how are we coming on this one? |
PR posted here: elixir-plug/plug#309 |
No description provided.
The text was updated successfully, but these errors were encountered: