We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb10524 + 30416d0 commit 9ad5f2aCopy full SHA for 9ad5f2a
src/Google/Spreadsheet/ListEntry.php
@@ -91,7 +91,7 @@ public function update($values)
91
$entry->addChild("id", $this->xml->id->__toString());
92
93
foreach($values as $colName => $value) {
94
- $entry->addChild("xmlns:gsx:$colName", $value);
+ $entry->addChild("xmlns:gsx:$colName", htmlspecialchars($value));
95
}
96
97
ServiceRequestFactory::getInstance()->put($this->getEditUrl(), $entry->asXML());
@@ -114,4 +114,4 @@ public function getEditUrl()
114
{
115
return Util::getLinkHref($this->xml, 'edit');
116
117
-}
+}
0 commit comments