-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected Numeral and String representation issue when parsing a query #84
Comments
Thank you for opening this issue. These are very interesting results... but they seem to be the expected behavior. The issue appears (on initial review) to result from the fact that A number staring with The The The An easy solution is to add a trailing space or a quote. Another approach is to manually parse the query or rewrite the However, I do wonder - if this design is not what you expect, how would you recommend that the Kindly, |
Thank you so much! |
Hi @immortalChensm , Both Nginx and Apache are HTTP servers, not application servers. To the best of my knowledge, they don't analyze the content of the request on the same level. For example, the information is always a "string". For example, the name Another example is that the value On one hand, it's quite easy to emulate the simplified (Nginx) behavior with facil.io by scanning the On the other hand, I understand there could be a reason to keep a String based values for numbers (the Kindly, |
Thank you so much! |
use postman send a request:
http://ip:port/?name=xbbb&age=100
print result :
1、when name=b or name=x will display 0
2、when name value is 'b' and 'x' will display number value
3、when name value=0b001,value=0100 value=0x11 will display number value
The text was updated successfully, but these errors were encountered: