[Bug 38401] New: CSRF error when trying to send EDIFACT message for a basket and only one EAN defined
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38401 Bug ID: 38401 Summary: CSRF error when trying to send EDIFACT message for a basket and only one EAN defined Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org IN the code, acqui/edi_ean.pl: 41 if ( @eans == 1 ) { 42 my $ean = $eans[0]->ean; 43 print $query->redirect( 44 "/cgi-bin/koha/acqui/basket.pl?basketno=$basketno&op=cud-ediorder&ean=$ean" 45 ); 46 } Redirect doesn't send the post variables, so the redirect fails with: Programming error - op 'cud-ediorder' must not start with 'cud-' for GET http://localhost:8081/intranet/acqui/basket.pl?basketno=76&op=cud-ediorder&ean=REFW (referer: http://localhost:8081/cgi-bin/koha/acqui/basket.pl) Work around, define a second EAN :-) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38401 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |lucas@bywatersolutions.com Resolution|--- |DUPLICATE --- Comment #1 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- *** This bug has been marked as a duplicate of bug 37993 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org