Report to Admin - strange bug Report to Admin - strange bug
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Report to Admin - strange bug

Started by panwac, December 31, 2005, 02:46:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

panwac

I found strange bug in reports created by report_file.php - error is only visible, when submitter writes data himself in NAME or EMAIL textboxes (when user haven't got e-mail address in his account and writes it in form textbox whitout changing own username, an effect is the same).
So, in mails recieved from CPG there are incorect values in positions: FROM and TITLE-SUBJECT (and small problem with formatiing in message area - I think, the reason of that should be the same).

In mail in FROM position there is text, eg.:
<input type="text" class="textinput" value="panwac"name="panwac" style="width: 100%;" /> [my_mail@domain.pl]

In SUBJECT position there is info like this:
A report from <input type="text" class="textinput" value="panwac" name="panwac" style="width: 100%;" /> on a gallery file

When a report is created by a user having e-mail address in his account (script takes a data from database), everything is O.K.

Peter

Tranz

Oh, ok. I was able to replicate this as an anonymous user who fills in the email address field. Thank you for the more detailed instructions on how to duplicate this. I'm not sure where to fix this so hopefully someone can.