|
|
|
|
|
by codedokode
1435 days ago
|
|
It is a bug in tzinfo. It should not execute random files when given invalid timezone identifier. The app doesn't know what is a "valid" or "invalid" timezone, it is tzinfo's responsibility to check it. UPD: in fact tzinfo tried to validate a timezone identifier but did it the wrong way. It used a regular expression like /^...$/ and using ^ and $ is a mistake here. This allows to bypass validation by passing a multiline identifier. |
|