tzwlwm / x-wrt

Automatically exported from code.google.com/p/x-wrt
0 stars 1 forks source link

Wireless WPA2 Key Causes Page To Be Downloaded As File #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to NETWORK > WIRELESS
2. Choose Encryption Type as WPA2 (PSK)
3. Enter This Key:
`8p9$4%G4K2T'Z4113$<4=5vB,iQPWP6N3"~I62_5fJ>pFr6TmlOM4UuG%3}_-7

What is the expected output? What do you see instead?
It should save the key. Instead the browser is prompted to download
network-wlan.sh I get the following HTTP Response from the server (using
LiveHTTP Headers extension in Firefox):

HTTP/1.x 200 OK 

What version of the product are you using? On what operating system and web
browser?
Version: r4491
OS: Xubuntu (intrepid)
Browser: Firefox 3.x nightly

Please provide any additional info below.

Original issue reported on code.google.com by crypticm...@yahoo.com on 14 Oct 2008 at 1:54

GoogleCodeExporter commented 8 years ago
I just figured out that the " or ` characters when present in key causes the 
issue.

Original comment by crypticm...@yahoo.com on 14 Oct 2008 at 2:02

GoogleCodeExporter commented 8 years ago
I just tested this out in version r4501 and still the page network-wlan.sh is 
being
prompted to be downloaded. I saved the file and its contents are empty btw.

Original comment by crypticm...@yahoo.com on 15 Oct 2008 at 4:24

GoogleCodeExporter commented 8 years ago
There has not been a fix for this issue yet. The root of this issue is the fact 
that
the webif is made using shell and any characters that have special meaning in 
shell
will currently cause issues.

Original comment by kemen04@gmail.com on 15 Oct 2008 at 5:16

GoogleCodeExporter commented 8 years ago
the only characters that are still causing issues are " and |

Original comment by kemen04@gmail.com on 11 Dec 2008 at 4:25