Bugzilla – Attachment 26351 Details for
Bug 9032
Share a list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9032: QA Follow-up: Send cookie with redirect
Bug-9032-QA-Follow-up-Send-cookie-with-redirect.patch (text/plain), 1.22 KB, created by
Marcel de Rooy
on 2014-03-14 14:44:52 UTC
(
hide
)
Description:
Bug 9032: QA Follow-up: Send cookie with redirect
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-03-14 14:44:52 UTC
Size:
1.22 KB
patch
obsolete
>From e440b03f384928cb76e1851fc51fbda48a075264 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 14 Mar 2014 15:14:14 +0100 >Subject: [PATCH] Bug 9032: QA Follow-up: Send cookie with redirect >Content-Type: text/plain; charset=utf-8 > >Small fix to resolve a problem Dobrica noted on the report. >If you had to login when accepting the share, the cookie was not passed >back to the server when redirecting to shelf display. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Accepted a share while logged in and while not logged in. >--- > opac/opac-shareshelf.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-shareshelf.pl b/opac/opac-shareshelf.pl >index 1ab31bd..9e12266 100755 >--- a/opac/opac-shareshelf.pl >+++ b/opac/opac-shareshelf.pl >@@ -116,7 +116,7 @@ sub show_accept { > if( AcceptShare($param->{shelfnumber}, $dbkey, $param->{loggedinuser} ) ) { > notify_owner($param); > #redirect to view of this shared list >- print $param->{query}->redirect(SHELVES_URL.$param->{shelfnumber}); >+ print $param->{query}->redirect( -uri => SHELVES_URL.$param->{shelfnumber}, -cookie => $param->{cookie} ); > exit; > } > else { >-- >1.7.7.6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9032
:
18260
|
18542
|
18543
|
18546
|
18547
|
18587
|
18619
|
18682
|
18692
|
19377
|
19378
|
19379
|
19394
|
19934
|
19935
|
25847
|
25848
|
25849
|
25850
|
25851
|
25852
|
25853
|
25862
|
25886
|
25893
|
26253
|
26291
|
26292
|
26293
|
26294
|
26295
|
26296
|
26297
|
26298
|
26299
|
26300
|
26302
|
26303
|
26351
|
26458
|
26509
|
26513
|
26577
|
26578
|
26579
|
26580
|
26581
|
26582
|
26583
|
26584
|
26585
|
26586
|
26587
|
26588