Gossamer Forum
Home : Products : Others : Gossamer Community :

[BUG] Pre signup page

Quote Reply
[BUG] Pre signup page
I checked the code of GComm v1.0.2 and found that there is a bug in the code.

Code:
# Users can go to a pre signup page (terms of service, coppa, etc) using
# do=user_signup;page=user_signup_terms.html
# link. The pagename must start with user_signup_.
my $page = $IN->param('page');
if ($page) {
if ($page =~ /^user_signup_\w+\.\w+$/) {
return ($page);
}
}

[BUG]: The + in red was missing.

Therefore currently in GComm v1.0.2 you should use a 1 char identifier in the filename like this:
community.cgi?do=user_signup;page=user_signup_0.html

And using following filename always displays the user signup page because of long 'terms' string in filename:
community.cgi?do=user_signup;page=user_signup_terms.html

Hopefully this BUG will be fixed in next release...

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] [BUG] Pre signup page In reply to
Hi,

Thanks, this will indeed be fixed.

Cheers,

Alex
--
Gossamer Threads Inc.