@@ -186,7 +186,8 @@ def __unionPosition(comment, place, parameter, prefix, suffix, count, where=PAYL
186186
187187 if content and phrase in content :
188188 validPayload = payload
189- vector = (position , count , comment , prefix , suffix , kb .uChar , where , content .count (phrase ) > 1 )
189+ kb .unionDuplicates = content .count (phrase ) > 1
190+ vector = (position , count , comment , prefix , suffix , kb .uChar , where , kb .unionDuplicates )
190191
191192 if where == PAYLOAD .WHERE .ORIGINAL :
192193 # Prepare expression with delimiters
@@ -204,7 +205,7 @@ def __unionPosition(comment, place, parameter, prefix, suffix, count, where=PAYL
204205 content = "%s%s" .lower () % (page or "" , listToStrValue (headers .headers if headers else None ) or "" )
205206
206207 if not all (_ in content for _ in (phrase , phrase2 )):
207- vector = (position , count , comment , prefix , suffix , kb .uChar , PAYLOAD .WHERE .NEGATIVE )
208+ vector = (position , count , comment , prefix , suffix , kb .uChar , PAYLOAD .WHERE .NEGATIVE , kb . unionDuplicates )
208209
209210 unionErrorCase = kb .errorIsNone and wasLastRequestDBMSError ()
210211
0 commit comments