PluginProbe
The WP Remote WordPress Plugin / 4.84
The WP Remote WordPress Plugin v4.84
6.72 6.69 6.65 6.62 6.48 6.47 4.87 4.97 5.05 5.09 5.16 5.22 5.24 5.25 5.38 5.41 5.42 5.45 5.47 5.53 5.56 5.65 5.68 5.72 5.73 All 53 releases
← All changes | callback/streams.php +2 -2 5.094.84 View file →
@@ -207,9 +207,9 @@
207 207 stream_set_timeout($this->conn, 300);
208 208 while (!feof($this->conn)) {
209 209 $line = fgets($this->conn, 4096);
210 210 if (1 == $state) {
211 - if (!WPRHelper::safePregMatch('/HTTP\/(\\d\\.\\d)\\s*(\\d+)\\s*(.*)/', $line, $m)) {
211 + if (!preg_match('/HTTP\/(\\d\\.\\d)\\s*(\\d+)\\s*(.*)/', $line, $m)) {
212 212 $response['httperror'] = "Status code line invalid: ".htmlentities($line);
213 213 return $response;
214 214 }
215 215 $response['http_version'] = $m[1];
@@ -222,9 +222,9 @@
222 222 if ($conlen > 0)
223 223 $response['body'] = fread($this->conn, $conlen);
224 224 return $response;
225 225 }
226 - if (!WPRHelper::safePregMatch('/([^:]+):\\s*(.*)/', $line, $m)) {
226 + if (!preg_match('/([^:]+):\\s*(.*)/', $line, $m)) {
227 227 // Skip to the next header
228 228 continue;
229 229 }
230 230 $key = strtolower(trim($m[1]));