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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Report to Admin - strange bug

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

Previous topic - Next topic

0 Members and 2 Guests 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.