Changeset 1849 for trunk/comments.php


Ignore:
Timestamp:
Feb 22, 2007, 2:12:32 AM (17 years ago)
Author:
rvelices
Message:
  • user comments are not saved in the database with htmlspecialchars anymore
  • web service: added the possibility to enter a user comment using the service...
  • new comment functions from picture_comment.inc.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comments.php

    r1814 r1849  
    110110if (isset($_GET['keyword']) and !empty($_GET['keyword']))
    111111{
    112   // fors some odd reason comment content is htmlspecialchars in the database
    113   $keyword = addslashes(
    114       htmlspecialchars( stripslashes($_GET['keyword']), ENT_QUOTES)
    115     );
    116112  $page['where_clauses'][] =
    117113    '('.
Note: See TracChangeset for help on using the changeset viewer.