*** r0ver has joined #zope3-dev | 00:01 | |
*** jpcw has quit IRC | 00:06 | |
*** fcorrea has joined #zope3-dev | 00:10 | |
*** pcardune has quit IRC | 00:14 | |
*** r0ver has left #zope3-dev | 00:17 | |
*** ccomb has joined #zope3-dev | 00:23 | |
*** fcorrea has quit IRC | 00:39 | |
*** J1m has quit IRC | 00:44 | |
*** pcardune has joined #zope3-dev | 00:48 | |
*** benji has quit IRC | 01:06 | |
*** romanofski has joined #zope3-dev | 01:09 | |
*** ccomb has quit IRC | 01:42 | |
*** lurkymclurkleton has quit IRC | 01:51 | |
*** philipp320 has quit IRC | 01:52 | |
*** mcdonc has joined #zope3-dev | 01:56 | |
*** runyaga has quit IRC | 02:02 | |
*** tarek has quit IRC | 02:22 | |
*** alga has joined #zope3-dev | 02:28 | |
*** redir has quit IRC | 02:46 | |
*** srichter has joined #zope3-dev | 03:07 | |
*** flox has quit IRC | 03:32 | |
*** baijum has joined #zope3-dev | 03:34 | |
*** baijum has quit IRC | 03:39 | |
*** baijum has joined #zope3-dev | 03:44 | |
*** ignas has quit IRC | 03:45 | |
*** davisagli has quit IRC | 03:46 | |
*** alga has quit IRC | 04:01 | |
*** srichter_ has joined #zope3-dev | 04:06 | |
*** srichter has quit IRC | 04:07 | |
*** srichter_ has quit IRC | 04:07 | |
*** srichter has joined #zope3-dev | 04:07 | |
*** aaronv has quit IRC | 04:20 | |
*** kaeru has quit IRC | 04:32 | |
*** davisagli has joined #zope3-dev | 04:32 | |
*** kaeru has joined #zope3-dev | 04:34 | |
*** jhauser_ has joined #zope3-dev | 05:00 | |
*** jhauser has quit IRC | 05:02 | |
*** jhauser_ is now known as jhauser | 05:02 | |
*** pcardune has quit IRC | 05:10 | |
*** redir has joined #zope3-dev | 05:16 | |
*** matthal has quit IRC | 05:27 | |
*** strichter has joined #zope3-dev | 05:42 | |
*** srichter has quit IRC | 05:42 | |
*** baijum1 has joined #zope3-dev | 05:52 | |
*** baijum has quit IRC | 05:52 | |
*** baijum1 has quit IRC | 05:56 | |
*** baijum has joined #zope3-dev | 06:51 | |
*** __mac__ has joined #zope3-dev | 06:56 | |
*** __mac__ has quit IRC | 07:11 | |
*** pcardune has joined #zope3-dev | 07:27 | |
*** jfkw has quit IRC | 07:40 | |
*** zagy has joined #zope3-dev | 08:05 | |
*** pcardune has quit IRC | 08:12 | |
*** dunny has quit IRC | 08:23 | |
*** dunny has joined #zope3-dev | 08:27 | |
*** afd_ has joined #zope3-dev | 08:31 | |
*** JaRoel|4D has quit IRC | 08:51 | |
*** stub has joined #zope3-dev | 08:54 | |
*** stub has joined #zope3-dev | 08:54 | |
*** matthal has joined #zope3-dev | 08:55 | |
*** jukart has joined #zope3-dev | 09:02 | |
*** __mac__ has joined #zope3-dev | 09:06 | |
*** davisagli has quit IRC | 09:06 | |
*** zagy has quit IRC | 09:16 | |
*** davisagli has joined #zope3-dev | 09:20 | |
*** flox has joined #zope3-dev | 09:22 | |
*** sweh has joined #zope3-dev | 09:26 | |
*** romanofski has quit IRC | 09:31 | |
*** alga has joined #zope3-dev | 09:35 | |
*** redir has quit IRC | 09:38 | |
*** Theuni1 has joined #zope3-dev | 09:39 | |
*** zagy has joined #zope3-dev | 09:52 | |
*** JaRoel|4D has joined #zope3-dev | 10:03 | |
*** BjornT has quit IRC | 10:20 | |
*** markusleist has joined #zope3-dev | 10:22 | |
*** BjornT has joined #zope3-dev | 10:25 | |
*** herve has joined #zope3-dev | 10:32 | |
*** __mac__ has quit IRC | 10:33 | |
*** herve has left #zope3-dev | 10:35 | |
*** jpcw has joined #zope3-dev | 10:39 | |
*** __mac__ has joined #zope3-dev | 10:39 | |
*** El_Rolando has joined #zope3-dev | 10:44 | |
*** matthal has quit IRC | 10:52 | |
*** jhauser has quit IRC | 10:57 | |
*** ccomb has joined #zope3-dev | 11:06 | |
*** jhauser has joined #zope3-dev | 11:17 | |
*** tarek has joined #zope3-dev | 11:22 | |
*** davisagli has quit IRC | 11:24 | |
*** ccomb has quit IRC | 11:27 | |
*** MJ has joined #zope3-dev | 11:29 | |
*** junkafarian has joined #zope3-dev | 11:34 | |
*** mgedmin has joined #zope3-dev | 11:35 | |
*** kaeru has quit IRC | 11:56 | |
*** kaeru has joined #zope3-dev | 11:57 | |
*** ccomb has joined #zope3-dev | 12:00 | |
*** goschtl has joined #zope3-dev | 12:05 | |
*** goschtl has joined #zope3-dev | 12:06 | |
*** stub has quit IRC | 12:16 | |
*** ignas has joined #zope3-dev | 12:38 | |
*** kaeru has quit IRC | 12:40 | |
*** kaeru has joined #zope3-dev | 12:41 | |
*** zagy has quit IRC | 13:15 | |
*** mcdonc has quit IRC | 13:16 | |
*** jdenney has joined #zope3-dev | 13:29 | |
*** zagy has joined #zope3-dev | 13:37 | |
*** mcdonc has joined #zope3-dev | 13:40 | |
*** fcorrea has joined #zope3-dev | 14:03 | |
*** dunny has quit IRC | 14:03 | |
*** agroszer has joined #zope3-dev | 14:11 | |
*** aaronv has joined #zope3-dev | 14:16 | |
*** baijum has quit IRC | 14:22 | |
*** afd__ has joined #zope3-dev | 14:41 | |
*** afd_ has quit IRC | 14:44 | |
*** projekt01 has joined #zope3-dev | 14:53 | |
*** Aiste has joined #zope3-dev | 14:57 | |
*** baijum has joined #zope3-dev | 15:01 | |
*** benji has joined #zope3-dev | 15:07 | |
*** ignas has quit IRC | 15:18 | |
*** Aiste has quit IRC | 15:36 | |
*** strichter has quit IRC | 15:38 | |
*** Aiste has joined #zope3-dev | 15:50 | |
*** grahal has joined #zope3-dev | 15:51 | |
*** lurkymclurkleton has joined #zope3-dev | 16:01 | |
grahal | how can I redirect back to the source page | 16:01 |
---|---|---|
grahal | I see there is self.request.response.redirect(url) | 16:01 |
grahal | I believe http header has this info no? | 16:01 |
*** ignas has joined #zope3-dev | 16:01 | |
Theuni1 | that's a bad idea | 16:06 |
Theuni1 | well, otoh | 16:06 |
Theuni1 | if you use the safe version of redirect | 16:06 |
Theuni1 | nah, nah, no. | 16:06 |
Theuni1 | you shouldn't trust the referer info | 16:06 |
*** strichter has joined #zope3-dev | 16:11 | |
grahal | Theuni1: advise any other method? | 16:21 |
grahal | it's all inside the same app. I want a url to execute a code and go back to the object view | 16:22 |
Theuni1 | compute the absolute url of that object and redirect there? | 16:22 |
grahal | actually | 16:22 |
grahal | not really, the url could be called from other pages | 16:22 |
grahal | and I wanted it to stay in the page it was called | 16:23 |
*** baijum has quit IRC | 16:27 | |
*** J1m has joined #zope3-dev | 16:27 | |
*** yvl has quit IRC | 16:30 | |
Theuni1 | that's always a bit tricky as you hopefully came from a page that didn't have side-effects ;) | 16:32 |
Theuni1 | what I tend to do is to do a redirect, but don't base it on the referer, but pass a separate argument along ala "go back to" | 16:32 |
Theuni1 | I also use the safe redirect mechanism (not sure whether your publisher is new enough) which will restrict redirects to the same host. | 16:32 |
*** allisterb has quit IRC | 16:39 | |
*** baijum has joined #zope3-dev | 16:41 | |
*** allisterb has joined #zope3-dev | 16:44 | |
*** allisterb has quit IRC | 16:46 | |
*** stub has joined #zope3-dev | 16:50 | |
*** stub has joined #zope3-dev | 16:50 | |
*** alga has quit IRC | 16:55 | |
*** menesis has joined #zope3-dev | 16:57 | |
*** ccomb has quit IRC | 16:59 | |
*** redir has joined #zope3-dev | 16:59 | |
*** baijum has quit IRC | 17:07 | |
*** menesis has quit IRC | 17:07 | |
*** ccomb has joined #zope3-dev | 17:14 | |
*** olaf has quit IRC | 17:20 | |
*** sweh has quit IRC | 17:26 | |
*** flox has quit IRC | 17:32 | |
*** kiorky has quit IRC | 17:45 | |
*** kiorky has joined #zope3-dev | 17:45 | |
*** baijum has joined #zope3-dev | 17:47 | |
*** baijum has quit IRC | 17:47 | |
*** kursor has joined #zope3-dev | 17:48 | |
*** kaeru has quit IRC | 17:48 | |
*** flox has joined #zope3-dev | 17:49 | |
*** kaeru has joined #zope3-dev | 17:50 | |
*** flox has quit IRC | 17:51 | |
*** projekt01 has quit IRC | 17:58 | |
*** flox has joined #zope3-dev | 18:07 | |
*** El_Rolando has quit IRC | 18:28 | |
*** alga has joined #zope3-dev | 18:28 | |
*** menesis has joined #zope3-dev | 18:28 | |
*** __mac__ has quit IRC | 18:30 | |
*** goschtl has quit IRC | 18:37 | |
*** lurkymclurkleton has quit IRC | 18:45 | |
*** lurkymclurkleton has joined #zope3-dev | 18:47 | |
*** stub has quit IRC | 18:48 | |
*** alga_ has joined #zope3-dev | 18:50 | |
*** alga has quit IRC | 18:50 | |
*** alga_ has quit IRC | 18:51 | |
*** kaeru has quit IRC | 18:54 | |
*** MJ has quit IRC | 18:54 | |
*** kaeru has joined #zope3-dev | 18:55 | |
*** cbcunc has quit IRC | 18:57 | |
*** davisagli has joined #zope3-dev | 18:59 | |
*** zagy has quit IRC | 19:10 | |
*** JaRoel|4D has quit IRC | 19:29 | |
*** nathany has joined #zope3-dev | 19:31 | |
*** avn has quit IRC | 19:31 | |
*** avn has joined #zope3-dev | 19:34 | |
*** jdenney has left #zope3-dev | 19:43 | |
*** Theuni1 has quit IRC | 19:45 | |
*** JaRoel|4D has joined #zope3-dev | 19:48 | |
*** jukart has quit IRC | 19:49 | |
*** davisagli has quit IRC | 19:50 | |
*** JaRoel|4D has quit IRC | 19:51 | |
*** jpcw has quit IRC | 19:52 | |
*** Aiste has quit IRC | 19:55 | |
*** davisagli has joined #zope3-dev | 19:57 | |
*** junkafarian has quit IRC | 19:57 | |
*** olaf has joined #zope3-dev | 20:07 | |
*** olaf has joined #zope3-dev | 20:07 | |
*** cbcunc has joined #zope3-dev | 20:10 | |
*** kursor has quit IRC | 20:24 | |
*** olaf has quit IRC | 20:25 | |
*** mgedmin has quit IRC | 20:26 | |
*** olaf has joined #zope3-dev | 20:27 | |
*** olaf has joined #zope3-dev | 20:27 | |
*** pcardune has joined #zope3-dev | 20:37 | |
*** jfkw has joined #zope3-dev | 20:40 | |
*** avn has quit IRC | 20:49 | |
*** fcorrea has quit IRC | 20:50 | |
*** fcorrea has joined #zope3-dev | 20:50 | |
*** avn has joined #zope3-dev | 20:51 | |
*** pcardune has quit IRC | 20:51 | |
*** JaRoel|4D has joined #zope3-dev | 20:58 | |
*** agroszer has quit IRC | 21:06 | |
*** ccomb has quit IRC | 21:16 | |
*** __mac__ has joined #zope3-dev | 21:19 | |
*** __mac___ has joined #zope3-dev | 21:21 | |
*** __mac__ has quit IRC | 21:21 | |
*** __mac___ is now known as __mac__ | 21:21 | |
*** jhauser has quit IRC | 21:22 | |
*** ignas has quit IRC | 21:26 | |
*** menesis1 has joined #zope3-dev | 21:27 | |
*** menesis has quit IRC | 21:27 | |
*** menesis1 has quit IRC | 21:28 | |
*** menesis has joined #zope3-dev | 21:28 | |
*** __mac__ has quit IRC | 21:28 | |
*** __mac__ has joined #zope3-dev | 21:30 | |
*** menesis has quit IRC | 21:32 | |
*** __mac__ has quit IRC | 21:34 | |
*** __mac__ has joined #zope3-dev | 21:35 | |
*** dunny has joined #zope3-dev | 21:37 | |
*** pcardune has joined #zope3-dev | 21:50 | |
*** afd__ has quit IRC | 21:54 | |
*** r0ver has joined #zope3-dev | 22:01 | |
*** r0ver is now known as r0ver|mtg | 22:03 | |
*** agroszer has joined #zope3-dev | 22:10 | |
*** mcdonc has quit IRC | 22:14 | |
*** pcardune has quit IRC | 22:15 | |
*** agroszer has quit IRC | 22:16 | |
*** mcdonc has joined #zope3-dev | 22:16 | |
*** matthal has joined #zope3-dev | 22:17 | |
*** __mac__ has quit IRC | 22:20 | |
*** pcardune has joined #zope3-dev | 22:21 | |
*** r0ver|mtg has quit IRC | 22:22 | |
*** runyaga has joined #zope3-dev | 22:23 | |
*** g_n_o_s_i_s has joined #zope3-dev | 22:24 | |
*** r0ver has joined #zope3-dev | 22:39 | |
*** r0ver is now known as r0ver|mtg | 22:40 | |
*** fcorrea has quit IRC | 22:44 | |
*** r0ver|mtg has quit IRC | 22:48 | |
*** r0ver has joined #zope3-dev | 22:50 | |
*** mcdonc has quit IRC | 22:50 | |
*** mcdonc has joined #zope3-dev | 22:52 | |
*** strichter has quit IRC | 22:57 | |
*** benji has quit IRC | 23:09 | |
*** menesis has joined #zope3-dev | 23:09 | |
*** ignas has joined #zope3-dev | 23:16 | |
*** ccomb has joined #zope3-dev | 23:23 | |
*** dunny has quit IRC | 23:23 | |
*** r0ver has quit IRC | 23:29 | |
*** lisppaste6 has quit IRC | 23:29 | |
*** r0ver has joined #zope3-dev | 23:31 | |
*** lisppaste6 has joined #zope3-dev | 23:38 | |
*** strichter has joined #zope3-dev | 23:41 | |
*** fcorrea has joined #zope3-dev | 23:47 | |
*** g_n_o_s_i_s has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!