Desire2Learn-Valence/valence-sdk-javascript — pull request #25 by dlockhart (2014-06-23 18:01:24+00:00)
Title: Fix for scheme parameter

The query-string variable 'scheme', which comes from the "HTTPS?" checkbox was always being interpreted as truthy. This is because req.param('scheme') is a string ('true' or 'false') and bitg if( 'false' ) and if( 'true' ) evaluate to true.