coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: kas on January 11, 2005, 02:09:32 AM

Title: Registration confermation link problem.
Post by: kas on January 11, 2005, 02:09:32 AM
Hi,

When people try to register, the link in the email they are sent is broken. I have tried it with 3 different mail clients and it is doing the same thing in all of them.

Actual link : " http://www.thestroebels.comregister.php?activate=*******************"  < this is how it shows everytime...

The "/" is missing between ".com" and "register"    ...      ???

Any idea why this is ??  Any help would be wonderful...

Kas

Title: Re: Registration confermation link problem.
Post by: Tranz on January 11, 2005, 02:22:30 AM
What exactly do you have in your ecard target in Config?
Title: Re: Registration confermation link problem.
Post by: Casper on January 12, 2005, 05:14:42 PM
yes, I suspect you have forgotton the '/' at the end of your url.
Title: Re: Registration confermation link problem.
Post by: kas on January 13, 2005, 04:08:19 PM
OK... I admit it... I am a TARD !!  sorry for the stupid question..     :P
Title: Re: Registration confermation link problem.
Post by: Tranz on January 13, 2005, 04:13:44 PM
Actually, it's not really all your fault. Applications are very inconsistent about the use of the trailing slash and so it's hard to know when to use them or not. That, or they have different tolerances for incorrect usage.

I guess we could implement a check in the code for the use of the trailing slash and add it if it's not there.

edit: I guess it has been done in the dev 1.4 version since when I remove the trailing slash, it gets added automatically. The issue I can see with that is if someone were to edit the database entry... then there's no check.