Closed (fixed)
Project:
Google Tag
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2023 at 20:51 UTC
Updated:
8 May 2023 at 14:24 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
sker101 commentedHere's a patch that force casts the status code into string
Comment #3
sker101 commentedchanging status to "Needs Review"
Comment #4
hanoiiIf we are going to cast, isn't it better to remove the strict comparison instead?
Comment #5
sker101 commentedAlthough I'm unsure of the reason behind adding the strict comparison initially, personally, I believe that doing strict comparison is a beneficial practice in general.
Comment #6
hanoiiBut if you are casting you are removing any potential benefit of the strict comparison
Comment #9
mglamanI agree, unless it's Drupal and dealing with integers.
MR fixes 200 response code checks as well.
Comment #11
mglamanMerged! We're working on a few other follow ups before making a new release.