Changeset 672
- Timestamp:
- Mar 16, 2019 11:47:40 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/js/Utilities.js
r671 r672 225 225 } 226 226 227 // https://github.com/benjamingr/RegExp.escape 228 if(!RegExp.escape){ 229 RegExp.escape = function(s){ 230 return String(s).replace(/[\\^$*+?.()|[\]{}]/g, '\\$&'); 231 }; 232 } -
trunk/lib/Utilities.inc.php
r671 r672 1455 1455 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 1456 1456 curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"); 1457 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Don't pass through data to the browser.1457 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Don't pass through data to the browser. 1458 1458 curl_setopt($ch, CURLOPT_BUFFERSIZE, 128); // Frequent progress function calls. 1459 1459 curl_setopt($ch, CURLOPT_NOPROGRESS, false); // Required to use CURLOPT_PROGRESSFUNCTION.
Note: See TracChangeset
for help on using the changeset viewer.