Don't transform strings in config to lowercase
This commit is contained in:
parent
f6c3e00d59
commit
a0e71dc86e
@ -164,10 +164,6 @@ class String(BaseType):
|
||||
self.maxlen = maxlen
|
||||
self.forbidden = forbidden
|
||||
|
||||
def transform(self, value):
|
||||
# FIXME that .lower() probably isn't always a good idea...
|
||||
return value.lower()
|
||||
|
||||
def validate(self, value):
|
||||
if self.forbidden is not None and any(c in value
|
||||
for c in self.forbidden):
|
||||
|
Loading…
Reference in New Issue
Block a user