puppetlabs/puppetdb — pull request #260 by nicklewis (2012-08-22 00:40:11+00:00)
Title: Make tag queries case-insensitive

Tags always come from Puppet as lowercase, but are treated for querying purposes as case-insensitive. So now we refuse any catalogs that contain non-lowercase tags, and munge all tag queries (both generated from Puppet and on the query end) to be lowercase.