Solving activation key problem with some browsers.

34 views
Skip to first unread message

erbecke

unread,
Oct 2, 2012, 1:16:44 PM10/2/12
to hobo...@googlegroups.com
Hi everybody.

I have a website running on Hobo 1.0 with thousands of registered users. Lately I've found a new problem with the email validation process, since in certain browsers (Internet Explorer apparently) with certains webmails (Hotmail?) the link does not open completely. Because it's a browser problem with some web-mail clients I think it would happend with other newer Hobo realeases too.

When the user clicks on the link below:


the browser opens


(without the key string).

I think one possible solution is a better embedded link in the validation email with HTML.

Right now:

<%= user_activate_url :host => @host, :id => @user, :key => @key %>

So I use a HTML MIME format creating the following file:

       activation.text.html.erb 

And puntting inside the activation link in a proper HTML tag

----

<% @user_lang_link = "Click here to activate your account"   %>  
<% @new_html_url = user_activate_url :host => @host, :id => @user, :key => @key %>

<p> <a href="<%= @new_html_url %>"><%= @user_lang_link %></a> </p>

-----

I only found this because the large number of new users in different platforms, including mobile activations. 

Hope that this solution would be useful for you...

Best regards
Eddie


Ignacio Huerta

unread,
Oct 6, 2012, 6:37:17 AM10/6/12
to hobo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

This is an interesting problem. I suggest that instead of using a HTML
link by default, we use a custom route, something like:

http://myserver/users/123456-username/activate/64793369eac2b9763a11f9d2d4da92eb71dfbd34

I just created a ticket in Lighthouse about this:
https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/1022-possible-issue-with-default-activation-link-with-some-browserswebmails

Regards,
Ignacio

El 02/10/12 19:16, erbecke escribi�:
> Hi everybody.
>
> I have a website running on Hobo 1.0 with thousands of registered
> to deal with this:users. Lately I've found a new problem with the
> -- You received this message because you are subscribed to the
> Google Groups "Hobo Users" group. To view this discussion on the
> web visit
> https://groups.google.com/d/msg/hobousers/-/DMEsXD4ndxgJ. To post
> to this group, send email to hobo...@googlegroups.com. To
> unsubscribe from this group, send email to
> hobousers+...@googlegroups.com. For more options, visit
> this group at http://groups.google.com/group/hobousers?hl=en.

- --
Ignacio Huerta Arteche
http://www.ihuerta.net
Tel�fono: 0034 645 70 77 35
Email realizado con software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBwCd0ACgkQBPlUJ6RHaOTCBACgsgdIdl0mnyMe6U2K3mjIKuwd
Ai4An2RS7t34gsh/iETiWReLxyJhTo1/
=NQQ1
-----END PGP SIGNATURE-----

Bryan Larsen

unread,
Oct 6, 2012, 7:16:44 AM10/6/12
to hobo...@googlegroups.com
That sounds like a good idea. You up for implementing it?

Bryan


On Sat, Oct 6, 2012 at 6:37 AM, Ignacio Huerta <ign...@ihuerta.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> This is an interesting problem. I suggest that instead of using a HTML
> link by default, we use a custom route, something like:
>
> http://myserver/users/123456-username/activate/64793369eac2b9763a11f9d2d4da92eb71dfbd34
>
> I just created a ticket in Lighthouse about this:
> https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/1022-possible-issue-with-default-activation-link-with-some-browserswebmails
>
> Regards,
> Ignacio
>
> El 02/10/12 19:16, erbecke escribió:
> Teléfono: 0034 645 70 77 35
> Email realizado con software libre
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>
> iEYEARECAAYFAlBwCd0ACgkQBPlUJ6RHaOTCBACgsgdIdl0mnyMe6U2K3mjIKuwd
> Ai4An2RS7t34gsh/iETiWReLxyJhTo1/
> =NQQ1
> -----END PGP SIGNATURE-----
>
> --
> You received this message because you are subscribed to the Google Groups "Hobo Users" group.

Ignacio Huerta

unread,
Oct 6, 2012, 3:31:58 PM10/6/12
to hobo...@googlegroups.com, Bryan Larsen
Sure, I'll give it a try tomorrow :)

El 06/10/12 13:16, Bryan Larsen escribi�:
> That sounds like a good idea. You up for implementing it?
>
> Bryan
>
>
> On Sat, Oct 6, 2012 at 6:37 AM, Ignacio Huerta
> <ign...@ihuerta.net> wrote: Hi,
>
> This is an interesting problem. I suggest that instead of using a
> HTML link by default, we use a custom route, something like:
>
> http://myserver/users/123456-username/activate/64793369eac2b9763a11f9d2d4da92eb71dfbd34
>
> I just created a ticket in Lighthouse about this:
> https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/1022-possible-issue-with-default-activation-link-with-some-browserswebmails
>
> Regards, Ignacio
>
> El 02/10/12 19:16, erbecke escribi�:
>> -- You received this message because you are subscribed to the
>> Google Groups "Hobo Users" group. To post to this group, send
>> email to hobo...@googlegroups.com. To unsubscribe from this
>> group, send email to hobousers+...@googlegroups.com. For
>> more options, visit this group at
>> http://groups.google.com/group/hobousers?hl=en.
>>
>

--
Ignacio Huerta Arteche
http://www.ihuerta.net
Tel�fono: 0034 645 70 77 35

Ignacio Huerta

unread,
Oct 15, 2012, 1:24:25 AM10/15/12
to hobo...@googlegroups.com, erbecke
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Eddie,

We have pushed a small change to Hobo that should take care of this
problem (https://github.com/Hobo/hobo/pull/2).

Regards,
Ignacio

El 02/10/12 19:16, erbecke escribi�:
> -- You received this message because you are subscribed to the
> Google Groups "Hobo Users" group. To view this discussion on the
> web visit
> https://groups.google.com/d/msg/hobousers/-/DMEsXD4ndxgJ. To post
> to this group, send email to hobo...@googlegroups.com. To
> unsubscribe from this group, send email to
> hobousers+...@googlegroups.com. For more options, visit
> this group at http://groups.google.com/group/hobousers?hl=en.

- --
Ignacio Huerta Arteche
http://www.ihuerta.net
Tel�fono: 0034 645 70 77 35
Email realizado con software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB7ngkACgkQBPlUJ6RHaOS4IgCghcrdUqwXnlYSTFmq6giCZBWj
o4wAoMcQf41lZ+LvjwE0imqWMmNfDf2D
=N8kK
-----END PGP SIGNATURE-----

Eddie Rodriguez von der Becke

unread,
Oct 15, 2012, 4:07:04 PM10/15/12
to Ignacio Huerta, hobo...@googlegroups.com
Amazing job. 

Thank you! 

I'll try it in a few days.

On Mon, Oct 15, 2012 at 2:24 AM, Ignacio Huerta <ign...@ihuerta.net> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Eddie,

We have pushed a small change to Hobo that should take care of this
problem (https://github.com/Hobo/hobo/pull/2).

Regards,
Ignacio

El 02/10/12 19:16, erbecke escribió:
Teléfono: 0034 645 70 77 35
Reply all
Reply to author
Forward
0 new messages