kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

using .length() instead of .length causes server problem #258

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Put parentheses on the .length jsonquery (which is not valid, I just
keep doing it accidentally)
2. So your URL looks something like:  
   http://whatever:8080/[?price<50].length()

What is the expected output? What do you see instead?
I would just expect this to fail, but instead it runs for a long time and
then fails with a message on the server saying "should not get here".

What version of the product are you using? On what operating system?
I'm seeing this on a moderately old installation (which is close to
production).  Obviously not an issue unless I mistype my commands, but it
should be fixed, if it hasn't already on a newer version, since it would
allow anyone to cause problems.

(forgive me if this is already fixed on a recent version, didn't have a
chance to try it)

Thanks,
Dylan

Original issue reported on code.google.com by dty...@gmail.com on 18 Nov 2009 at 7:59

GoogleCodeExporter commented 8 years ago
This may just be my installation ... please ignore this defect for the moment 
while I
verify.

Original comment by dty...@gmail.com on 21 Nov 2009 at 4:25

GoogleCodeExporter commented 8 years ago
I tried this again using Persevere 1.0 and could not recreate the issue I was 
seeing.
 Using .length() does cause a bunch of junk to scroll by on the console, and then an
error, but it doesn't appear to cause any crashes/hangs/denial of service/etc 
as far
as I can tell.  This bug can be closed out.

Original comment by dty...@gmail.com on 21 Nov 2009 at 11:02

GoogleCodeExporter commented 8 years ago

Original comment by kris...@gmail.com on 21 Nov 2009 at 2:09