Commit Graph

14 Commits

Author SHA1 Message Date
David Anderson 9baf78fe5f - web: added copyright and license info to PHP files
svn path=/trunk/boinc/; revision=15758
2008-08-05 22:43:14 +00:00
David Anderson d403a14e42 - web: cleaned up logic of string processing.
There are two aspects:
    1) undoing magic quotes (if it's being used).
        This must be done for all GET and POST string inputs.
        It is now done automatically by get_str() and post_str().
        The places that refer to $_GET and $_POST directly
        must do it themselves using undo_magic_quotes().
    2) Escaping user-supplied strings before using them in DB queries.
        This is done by process_user_text()
        (which should be renamed db_escape_string()).
        The new principle:
        call process_user_text() in the function that does the DB query
        (not at any higher level).


svn path=/trunk/boinc/; revision=15389
2008-06-11 19:36:10 +00:00
Rytis Slatkevičius 8797fca96a - user web: fix typo in lookup_account.php, preventing attach (fix #471).
svn path=/trunk/boinc/; revision=14191
2007-11-14 12:29:16 +00:00
David Anderson df2b79f400 svn path=/trunk/boinc/; revision=14176 2007-11-13 17:21:08 +00:00
David Anderson 0616e75a02 - user web: update other code to use new-style DB interfaces
svn path=/trunk/boinc/; revision=14164
2007-11-12 22:28:17 +00:00
David Anderson 02bb061b6d *** empty log message ***
svn path=/trunk/boinc/; revision=11117
2006-09-06 20:56:55 +00:00
David Anderson f174f3395f *** empty log message ***
svn path=/trunk/boinc/; revision=10376
2006-06-16 21:19:00 +00:00
David Anderson d049169dba accept account key as passwd
svn path=/trunk/boinc/; revision=8960
2005-11-26 20:56:54 +00:00
Bruce Allen 82bfb01de4 Fix oversight in David's checkin
svn path=/trunk/boinc/; revision=8883
2005-11-19 21:15:29 +00:00
David Anderson b803f9b432 fill in blank passwd_hash
svn path=/trunk/boinc/; revision=8882
2005-11-19 20:33:55 +00:00
David Anderson 66fbe0cfbe *** empty log message ***
svn path=/trunk/boinc/; revision=7360
2005-08-16 20:48:21 +00:00
Rom Walton 381fe4ade9 *** empty log message ***
svn path=/trunk/boinc/; revision=7229
2005-08-10 18:56:35 +00:00
Rom Walton fc91bc7ef0 *** empty log message ***
svn path=/trunk/boinc/; revision=7226
2005-08-10 08:55:57 +00:00
David Anderson b36fef1e87 *** empty log message ***
svn path=/trunk/boinc/; revision=7216
2005-08-09 18:46:53 +00:00