ocf / ocfweb

The main ocf website
https://www.ocf.berkeley.edu
Other
40 stars 91 forks source link

Fix incorrect detection of requested vhost domain type #604

Closed ja5087 closed 4 years ago

ja5087 commented 4 years ago

Previously we were trying to compare with a stringified boolean, resulting in the condition being true all the time. This should be clearer and also avoid the mess with using a BooleanField (since browsers may not submit a BooleanField that is false.