|
Unit tests and fix to allow passing keys with capital letters to getOption and hasOption. getOption didn't need a fix since it was already coded to be case-insensitive, but relied on hasOption which was case-sensitive. I agree with Travis that hasOption is missing the strtolower functionality and therefore this bug occurs. Fixed in trunk and 1.9 release branch How come i don't see it in the repository? Ah, but it is still missing in BootstrapAbstract.php |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This is related to
ZF-6679Basically, the intention was that getOptions would preserve the original case, but lookups (getOption and hasOption) would work if you supply a lowercase key or a case sensitive key.
But, passing a key with a capital letter does not work.