We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5b9eee51 authored by Mike Sheldon's avatar Mike Sheldon

Fix quoting when processing callbacks

parent a43540c4
......@@ -52,7 +52,7 @@ if($_GET['token'] && $_GET['webservice_url'] && $logged_in == true) {
// Delete any old connection to this service
$adodb->Execute('DELETE FROM Service_Connections WHERE '
. 'userid = ' . $this_user->uniqueid . ' AND '
. 'webservice_url = ' . $webservice_url);
. 'webservice_url = ' . $adodb->qstr($webservice_url));
// Create our new connection
$adodb->Execute('INSERT INTO Service_Connections VALUES('
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment