Welcome, Guest. Please Login or Register.
November 26, 2024, 02:35:53 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  General Category  |  Feedback  |  I've found a bug :) 8) « previous next »
Pages: [1] Reply Ignore Print
Author Topic: I've found a bug :) 8)  (Read 2089 times)
Cerberus
Full Member
***
Posts: 100


Who's a llama?!

WWW
I've found a bug :) 8)
« on: May 22, 2003, 12:48:42 PM »
Reply with quote

When registering if you enter an email with .info yabb says that your email is invalid.

Example:

we register as
Testuser
[email protected]

We got an error message:
QuoteAn Error Has Occurred!

Testuser Please enter a valid email address.

Even here ;D
That's all folks ;D

A small bug.

To all the devs: keep up the good work!
Logged

Best Regards, Cerberus
Check out http://www.pocketpcrussia.com :)
Douglas
aka The Bear
Support Team
YaBB God
*****
Posts: 1050


Bears rule! Llamas rule too!

WWW
Re:I've found a bug :) 8)
« Reply #1 on: May 22, 2003, 03:45:44 PM »
Reply with quote

Good morning, Cerebrus.  I've found a temporary solution for you, as per

http://www.php.net/manual/en/function.eregi.php

Go into your Sources folder and grab Register.php.

We're going to be focussing on Lines 198 and 199 (Search for "!eregi").

Currently, it's as follows:
Quoteif (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $member['email']))
      fatal_error("$member[user] $txt[500]");

You may want to try to change the {2,3} to {2,4} to see if that helps.  If not (since it could very well restrict .museum domains), then you may want to take a peek at

http://www.php.net/manual/en/function.eregi.php.

I'll be sure to let the Devel team know about this thread, though.
Logged

Need help? Please SEARCH first.  No need for a bad attitude, we like helping positive minded people.
ComeHit.us Short URL  redirection svcs with YSE powered forums, COMING SOON!
Want to say thanks?  Check out http://comehit.us/?u=3
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:I've found a bug :) 8)
« Reply #2 on: May 22, 2003, 09:09:16 PM »
Reply with quote

Quote from: Cerberus on May 22, 2003, 12:48:42 PM
When registering if you enter an email with .info yabb says that your email is invalid.

Believe it not, I bumped into this one about three weeks ago when I added a test account to one of my boards, but didn't realise it was a bug! IOW, I tried to use a petestack.info email address to create an account at my petestack.info board, assumed it was being rejected because the board thought I was spoofing the address, and didn't bother to check the code because that seemed like a plausible explanation... ::)
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  General Category  |  Feedback  |  I've found a bug :) 8) « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.049 seconds with 20 queries.