~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to html/user/am_set_host_info.php

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
$db = BoincDb::get();
25
25
if (!$db) xml_error($retval);
26
26
 
27
 
$auth = process_user_text(get_str("account_key"));
 
27
$auth = BoincDb::escape_string(get_str("account_key"));
28
28
$user = BoincUser::lookup("authenticator='$auth'");
29
29
if (!$user) {
30
30
    xml_error(-136);
37
37
    xml_error(-136);
38
38
}
39
39
 
40
 
$venue = process_user_text(get_str("venue"));
 
40
$venue = BoincDb::escape_string(get_str("venue"));
41
41
 
42
42
$result = $host->update("venue='$venue'");
43
43
if ($result) {