Jeff250 wrote:HTTP allows multiple GET and POST parameters with the same name, so you're not doing anything that weird. From what you're saying, it looks like python+cgi presents this as a tuple, which is not uncommon (most frameworks use some sort of list/tuple/array abstraction for this).
That's good! I was so sure this thing I had stumbled while experimenting was the wrong was of passing stacks.
Jeff250 wrote:Do you have an exact example of a browser version that you think fails at this that one can install on a desktop and test? If it's an ancient version of Netscape, then it might just be broken, but I find your claim of Safari on the iPad failing at this a bit more alarming.
And the android browser. I'll have to get more information, though I think I've got all that on Google Analytics. I don't get much traffic so it's easy for me sort out who's who.
Jeff250 wrote:The problem might be something less complex, like if you're using XHTML, make sure to close your input tags.
It's actually a single CGI file that imports a main module, which imports a sub module, then imports another submodule, and so on. So it's just one python script that grows depending on what string it's fed. It's probably a bad way of doing things.
Jeff250 wrote:You can always just use name="foo1", name="foo2", etc., and build the tuple yourself, but that's not a very satisfying solution curiosity-wise.
You're right. I'll be use forms like this from now on.
I've stopped coding on my server space for a while to study what others have been doing. Also, I've picked up eclipse and pydev, so I've found, what I think is, my favorite editor.
Jeff250 wrote:Also, some general code review:
* Is there a reason you're using """foo""" quotes instead of 'foo' quotes?
Oh yeah, because I want to break up the line. I hate crazy wrapping code. I can never read it.
So I can do something like:
mystring="""Once upon a time""" """ there was a rabbit""" """ named thunder."""
* If self.js can contain arbitrary user input, then your code could be unsafe XSS-wise.
I have not forgotten your post on using cookies. I plan to spend time working on making more secure sites.
Thanks a million!
s☼-£♦и̫͍ͥ̍ͪ͌̓͗͡о̡̹̱͊̅ͮ̓̕͢б̧̝̻̪̤̳̜͐̓̉ͤ͢͜ ͙̬͙̆̑ͮ̐ͭ̾̂́͘i̎̌̾̓̽̀̈̓̀҉͉̙̦͎̘̝͕f̻͕͔̘ͣͣ̓͊̿͢͜ ͍͔͈͕̮̫ͣ̆ͮ̊͋/♂6Æ!♪╩"▲L└уͭ̂͐̇҉̴̣̼̞̠̯͓̺̞ф̜̊͌̈́̋̏̐́ц̨͔̮̿̇ ̨̛͖̙͖̖̮̗̱ͩ̆͞ͅа̥͇̞̖͚̟̅͐ͤ͞͠͠э̜̘̩̳̬͔̾ͯ̀ͫ̒̐̿ͅͅг̭̖̀ͦ̒̑ͥ̌ͮͫ͞ё͔̟̃ͬ̾̓͟ё̦̞̙̫͔̩͑̀͂ͯ̄̔̃̑̀͠ͅͅ