iftekharjoy / webapp-improved

Automatically exported from code.google.com/p/webapp-improved
Other
0 stars 0 forks source link

Request.get_range faulty #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Constraining to min_value and max_value range only occurs in the obscure 
condition where the default value is used in place of a non-numeric value. In 
other words, it doesn't really happen.

eg get_range("a", 10, 20)

where "/?a=4"
expect 10
get 4

The block starting "if value is not None:" needs to be unindented to take it 
out of the exception clause.

Original issue reported on code.google.com by jul...@bitrivers.com on 3 Feb 2012 at 4:06

GoogleCodeExporter commented 8 years ago

Original comment by pkris...@gmail.com on 12 Mar 2012 at 4:06

GoogleCodeExporter commented 8 years ago
It happens again, both in SDK 1.7.3 and the real AppEngine.

Original comment by braveyao@chromium.org on 30 Nov 2012 at 12:58