*** MrSmile has joined #zope | 00:12 | |
kosh | what is the problem? | 00:13 |
---|---|---|
kosh | ah sorry did not notice your question was about zope 3 | 00:14 |
kosh | sorry not a clue about that, never used zope 3 | 00:14 |
MrSmile | what have you used?! | 00:15 |
kosh | I use zope 2.x and have since it existed | 00:15 |
MrSmile | where would you grep there the wsgi environment variable ?! | 00:15 |
kosh | not a clue | 00:15 |
kosh | I have never used wsgi | 00:15 |
kosh | I use nginx as a load balancer and proxy for zope 2 | 00:16 |
MrSmile | I need the wsgi environment variable for the WebOb package! | 00:16 |
MrSmile | WebOb provides me a more easy way for fetching GET and POST parameters. | 00:17 |
MrSmile | I know zope could run behind whatever..... | 00:17 |
kosh | in zope 2.x I use the REQUEST object | 00:17 |
MrSmile | I use it as well on zope3 | 00:17 |
MrSmile | and I get the single parameter only with self.request.get('name') | 00:18 |
MrSmile | but I want EVERYTHING | 00:18 |
kosh | no idea what you mean for that | 00:18 |
kosh | everything in GET or POST would just be REQUEST.form which is a dictionary | 00:19 |
MrSmile | for example, you have a form, and you have defined different fields with different names. | 00:19 |
kosh | so you could do REQUEST.form.items() for instance | 00:19 |
MrSmile | ohhh | 00:19 |
MrSmile | okay | 00:19 |
kosh | REQUEST.form.get('somekey') | 00:19 |
MrSmile | I want all items | 00:19 |
kosh | I never grab everything, that seems like a huge security problem if you do that | 00:19 |
kosh | I grab named fields with defaults if they are not found | 00:19 |
kosh | that prevents injecting variables not defined in the form | 00:19 |
MrSmile | ok | 00:20 |
MrSmile | Thank you! | 00:27 |
MrSmile | I tried it out, all works the same on zope3 | 00:27 |
MrSmile | thanks a lot! | 00:27 |
*** MrSmile has left #zope | 00:32 | |
*** vangheem has joined #zope | 00:47 | |
*** MrTango has quit IRC | 01:19 | |
*** mcdonc has quit IRC | 01:45 | |
*** mr_jolly has quit IRC | 03:18 | |
*** mr_jolly has joined #zope | 03:27 | |
*** m8 has quit IRC | 03:48 | |
*** mr_jolly has quit IRC | 04:21 | |
*** KageSenshi has joined #zope | 04:25 | |
*** MatthewWilkes is now known as mwilkes|away | 06:19 | |
*** kosh has quit IRC | 07:06 | |
*** onr has quit IRC | 07:20 | |
*** zagy has joined #zope | 08:50 | |
*** kosh has joined #zope | 09:03 | |
*** onr has joined #zope | 09:14 | |
*** mcdonc has joined #zope | 09:31 | |
TinoW | moin | 10:06 |
TinoW | :) | 10:06 |
*** giacomos has joined #zope | 10:12 | |
*** giacomos1 has joined #zope | 10:14 | |
*** giacomos has quit IRC | 10:14 | |
*** kosh has quit IRC | 10:28 | |
*** emidal has joined #zope | 10:35 | |
*** giacomos has joined #zope | 10:36 | |
*** giacomos has quit IRC | 10:50 | |
*** mr_jolly has joined #zope | 10:59 | |
*** goschtl has joined #zope | 11:06 | |
*** goschtl has quit IRC | 11:10 | |
*** giacomos has joined #zope | 11:21 | |
*** mwilkes|away is now known as MatthewWilkes | 11:22 | |
*** mcdonc has quit IRC | 11:25 | |
*** MrTango has joined #zope | 11:29 | |
*** giacomos has quit IRC | 11:38 | |
*** MatthewWilkes is now known as mwilkes|away | 11:51 | |
*** goschtl has joined #zope | 12:03 | |
*** mwilkes|away is now known as MatthewWilkes | 12:13 | |
*** evilbungle has joined #zope | 12:14 | |
*** maurits has joined #zope | 12:16 | |
*** maurits has quit IRC | 12:19 | |
*** kosh has joined #zope | 12:25 | |
*** kosh has quit IRC | 12:29 | |
*** mitchell`off is now known as mitchell` | 12:36 | |
*** __mac__ has joined #zope | 12:49 | |
*** __gotcha has joined #zope | 12:52 | |
*** menesis has quit IRC | 13:21 | |
*** m8 has joined #zope | 13:30 | |
*** J1m_ has joined #zope | 13:41 | |
*** goschtl has quit IRC | 13:42 | |
*** menesis has joined #zope | 14:04 | |
*** KageSenshi has quit IRC | 14:27 | |
*** KageSenshi has joined #zope | 14:28 | |
*** __gotcha has quit IRC | 14:34 | |
*** KageSenshi has quit IRC | 14:41 | |
*** KageSenshi has joined #zope | 14:43 | |
*** __mac__ has quit IRC | 14:46 | |
*** benji has joined #zope | 14:49 | |
*** __mac__ has joined #zope | 14:50 | |
*** goschtl has joined #zope | 14:52 | |
*** maurits has joined #zope | 14:57 | |
*** yvl has joined #zope | 15:22 | |
*** rajesh has joined #zope | 15:25 | |
*** fdrake has joined #zope | 15:36 | |
*** do3cc has joined #zope | 15:52 | |
*** kosh has joined #zope | 15:55 | |
*** paltas has joined #zope | 16:20 | |
*** mgedmin_ has joined #zope | 16:22 | |
*** mgedmin has quit IRC | 16:22 | |
*** bosim has quit IRC | 16:22 | |
*** MatthewWilkes has quit IRC | 16:22 | |
*** paltas is now known as bosim | 16:22 | |
*** MatzeWilkes has joined #zope | 16:22 | |
*** MatzeWilkes is now known as MatthewWilkes | 16:22 | |
*** kiorky_ has joined #zope | 16:22 | |
*** menesis has quit IRC | 16:22 | |
*** do3cc has quit IRC | 16:23 | |
*** do3cc has joined #zope | 16:24 | |
*** kiorky has quit IRC | 16:24 | |
*** kiorky_ has quit IRC | 16:28 | |
*** menesis has joined #zope | 16:33 | |
*** kiorky has joined #zope | 16:33 | |
*** zagy has quit IRC | 16:40 | |
*** sp0cksbeard has joined #zope | 16:41 | |
*** J1m_ has quit IRC | 16:51 | |
*** __mac__ has quit IRC | 16:52 | |
*** maurits has quit IRC | 17:10 | |
*** supton has joined #zope | 17:20 | |
*** kosh has quit IRC | 17:25 | |
*** roq_ has joined #zope | 17:31 | |
*** J1m_ has joined #zope | 17:57 | |
*** daMaestro has joined #zope | 18:09 | |
*** esteele|away is now known as esteele | 18:28 | |
*** goschtl has quit IRC | 18:47 | |
*** tiwula has joined #zope | 18:47 | |
*** __mac__ has joined #zope | 18:49 | |
*** __mac__ has quit IRC | 18:55 | |
*** vangheem has quit IRC | 19:08 | |
*** zagy has joined #zope | 19:14 | |
*** do3cc has quit IRC | 19:14 | |
*** giacomos1 has quit IRC | 19:22 | |
*** J1m_ has left #zope | 19:35 | |
*** J1m_ has quit IRC | 19:35 | |
*** motto has joined #zope | 19:42 | |
*** giacomos has joined #zope | 19:43 | |
*** m8 has quit IRC | 19:45 | |
*** rajesh has quit IRC | 19:49 | |
*** zagy has quit IRC | 20:00 | |
*** sm has quit IRC | 20:02 | |
*** sm has joined #zope | 20:03 | |
*** esteele is now known as esteele|away | 20:03 | |
*** esteele|away is now known as esteele | 20:03 | |
*** emidal has quit IRC | 20:04 | |
*** vangheem has joined #zope | 20:08 | |
*** menesis has quit IRC | 20:08 | |
*** zagy has joined #zope | 20:21 | |
*** zagy has quit IRC | 20:23 | |
*** vangheem has quit IRC | 20:27 | |
*** evilbungle has quit IRC | 20:30 | |
*** zagy has joined #zope | 20:34 | |
*** vangheem has joined #zope | 20:46 | |
*** MatthewWilkes is now known as mwilkes|away | 20:49 | |
*** zagy has quit IRC | 20:53 | |
*** __mac__ has joined #zope | 21:07 | |
*** ree has quit IRC | 21:08 | |
*** ree has joined #zope | 21:08 | |
*** vangheem has quit IRC | 21:11 | |
*** vangheem has joined #zope | 21:14 | |
*** __mac__ has quit IRC | 21:20 | |
*** emidal has joined #zope | 21:20 | |
*** vangheem has quit IRC | 21:22 | |
*** vangheem has joined #zope | 21:35 | |
*** __mac__ has joined #zope | 21:35 | |
*** zagy has joined #zope | 21:40 | |
*** thetet has joined #zope | 21:48 | |
*** menesis has joined #zope | 21:52 | |
*** evilbungle has joined #zope | 22:02 | |
*** KageSenshi has quit IRC | 22:06 | |
*** vangheem has quit IRC | 22:08 | |
*** nueces has joined #zope | 22:16 | |
*** TresEquis has joined #zope | 22:22 | |
*** supton has quit IRC | 22:28 | |
*** motto has quit IRC | 23:04 | |
*** motto has joined #zope | 23:04 | |
*** motto is now known as m8 | 23:04 | |
*** __mac__ has quit IRC | 23:13 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!