lscache-opencart icon indicating copy to clipboard operation
lscache-opencart copied to clipboard

explode(PHP_EOL, $str) not work correctly when URLs or UAs lists saved from browser on Windows platform

Open AndreyPopovNew opened this issue 4 years ago • 0 comments

explode(PHP_EOL, $str) not work correctly when lists of URLs or UAs saved from Windows platform!!!!!!

find recommendation replace with preg_split('/\n|\r\n?/', $str);

AndreyPopovNew avatar Dec 28 '20 22:12 AndreyPopovNew