[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2026-07-16 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Caroline Cyr La Rose  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|Needs documenting   |RESOLVED

--- Comment #13 from Caroline Cyr La Rose  ---
Nothing to add or edit in the Koha manual regarding this change. Please reopen
and provide more information is this is not the case.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2026-05-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Wainui Witika-Park  changed:

   What|Removed |Added

 Status|Pushed to oldstable |Needs documenting
 CC||[email protected]
   ||et.nz

--- Comment #12 from Wainui Witika-Park  ---
Not backporting to 22.11

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-12-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Fridolin Somers  changed:

   What|Removed |Added

 Version(s)|25.11.00,25.05.06   |25.11.00,25.05.06,24.11.11
released in||
 CC||[email protected]
   ||m
 Status|Pushed to stable|Pushed to oldstable

--- Comment #11 from Fridolin Somers  ---
Pushed to 24.11.x for 24.11.11

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-11-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

--- Comment #10 from Paul Derscheid  ---
Nice work everyone!

Pushed to 25.05.x

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-11-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Paul Derscheid  changed:

   What|Removed |Added

 Status|Pushed to main  |Pushed to stable
 Version(s)|25.11.00|25.11.00,25.05.06
released in||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-11-17 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

--- Comment #9 from Lucas Gass (lukeg)  ---
Nice work everyone!

Pushed to main for 25.11

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-11-17 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Lucas Gass (lukeg)  changed:

   What|Removed |Added

 Version(s)||25.11.00
released in||
 Status|Passed QA   |Pushed to main

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-11-14 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Jonathan Druart  changed:

   What|Removed |Added

 CC||[email protected]
 QA Contact|[email protected] |[email protected]
   |y.org   |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-11-14 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Jonathan Druart  changed:

   What|Removed |Added

 Attachment #188452|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-11-14 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Jonathan Druart  changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-11-14 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

--- Comment #8 from Jonathan Druart  ---
Created attachment 189616
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189616&action=edit
Bug 41104: Remove -sameSite from checkauth() response headers

To test:
1. prove t/db_dependent/Auth.t
2. Observe success

Signed-off-by: David Cook 

Signed-off-by: Jonathan Druart 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Lari Taskula  changed:

   What|Removed |Added

 Blocks||38363


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38363
[Bug 38363] get_template_and_user and checkauth don't use C4::Output for
rendering auth pages
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

David Cook  changed:

   What|Removed |Added

   Severity|enhancement |trivial
   Assignee|[email protected] |[email protected]
   |ity.org |

--- Comment #7 from David Cook  ---
Good catch on this one. What a little oopsie. 

Super easy to test in the browser by using the F12 tools and just checking for
the presence of that SameSite HTTP header on the response from the server on
the load of any page. 

The header is there before the patch, and the header is not there after the
patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

David Cook  changed:

   What|Removed |Added

 Attachment #188450|0   |1
is obsolete||

--- Comment #6 from David Cook  ---
Created attachment 188452
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188452&action=edit
Bug 41104: Remove -sameSite from checkauth() response headers

To test:
1. prove t/db_dependent/Auth.t
2. Observe success

Signed-off-by: David Cook 

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

David Cook  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

David Cook  changed:

   What|Removed |Added

 Attachment #188449|0   |1
is obsolete||

--- Comment #5 from David Cook  ---
Comment on attachment 188449
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188449
Bug 41104: Catch invalid response header Samesite

I'm going to mark it as obsolete for now, because I don't think the test adds
too much value for the future.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

David Cook  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #4 from David Cook  ---
(In reply to Lari Taskula from comment #3)
> (In reply to Lari Taskula from comment #1)
> > Created attachment 188449 [details] [review] [review]
> > Bug 41104: Catch invalid response header Samesite
> I'm not sure this test needs to be pushed. It does not really serve any
> purpose in the long run, after the second patch is pushed.

Yeah, I don't think it's really necessary either.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

--- Comment #3 from Lari Taskula  ---
(In reply to Lari Taskula from comment #1)
> Created attachment 188449 [details] [review]
> Bug 41104: Catch invalid response header Samesite
I'm not sure this test needs to be pushed. It does not really serve any purpose
in the long run, after the second patch is pushed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

--- Comment #2 from Lari Taskula  ---
Created attachment 188450
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188450&action=edit
Bug 41104: Remove -sameSite from checkauth() response headers

To test:
1. prove t/db_dependent/Auth.t
2. Observe success

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

--- Comment #1 from Lari Taskula  ---
Created attachment 188449
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188449&action=edit
Bug 41104: Catch invalid response header Samesite

The SameSite is an attribute to a cookie, not a standard HTTP response header.

We can safely remove it.

To test:
1. Before applying further patches,
2. prove t/db_dependent/Auth.t
3. Observe test failure

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 41104] Samesite HTTP response header being set in C4::Auth::checkauth()

2025-10-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41104

Lari Taskula  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/