Closed LeMoussel closed 7 years ago
If user-agent has a spacing in its name, robots-txt-parser remove spaces. Is it normal ?
User-agent:Googlebot Disallow:/ User-agent:Cocon.Se Crawler Disallow:/
Got 'cocon.secrawler' in array result of getRules()
getRules()
[cocon.secrawler] => Array ( [disallow] => Array ( [0] => / ) )
@LeMoussel hey, Thanks for feedback! Agree.
Now will return user-agent in lower case without removed whitespaces "as is" - PR.
If user-agent has a spacing in its name, robots-txt-parser remove spaces. Is it normal ?
Got 'cocon.secrawler' in array result of
getRules()