Re: Bug #15355 Updated: test bug
| From: | Gabor Hojtsy | Date: | Mon, 04 Feb 2002 09:45:23 +0000 |
| Subject: | Re: Bug #15355 Updated: test bug | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-8528@lists.php.net to get a copy of this message | ||
> Weird people exist on earth ;) The submit form allows for such a long
> OS string / summary, etc. Not all the OS string is stored though...
> I introduced this feature to make headers readable even if strlen(header
> content) is more than 72 - strlen(header name), so it needs a wrap.
> If anytime such an OS string can come, it's worth to have this code
here...
>
> Anyway, the form needs a maxlength="someossizevalue" param to not
> allow strings not stored in database...
OK, so to be correct, here is the table structure:
CREATE TABLE bugdb (
id int(8) NOT NULL AUTO_INCREMENT,
bug_type char(32),
email varchar(40) NOT NULL,
sdesc varchar(80) NOT NULL,
ldesc text NOT NULL,
php_version char(16),
php_os varchar(32),
status varchar(16),
ts1 datetime, # bug created date
ts2 datetime, # bug last updated date
assign varchar(16),
passwd varchar(20),# user password
PRIMARY KEY (id),
FULLTEXT (email,sdesc,ldesc)
);
email, status, bug_type, php_os, php_version, assign, sdesc
can be changed using our bug forms. The most critical regarding
the sent out mails is "sdesc", which can be 80 chars. This
is definetly above 72, so it may need a wrap sometimes. In such
a case, this code will make the wrap "intelligent", making the
mails more readable.
Goba