Open
Description
I noticed that the last issue was not responded.
But still, I found that the matching doesnt seem to work as expected:
` cpe1_param := strings.ReplaceAll( c.QueryParam("cpe1"), ".", "\.")
cpe2_param := strings.ReplaceAll(c.QueryParam("cpe2"), ".", "\.")
if matching.IsDisjoint(cpe1, cpe2) {
match = "IsDisjoint"
}
if matching.IsEqual(cpe1, cpe2) {
match = "IsEqual"
}
if matching.IsSuperset(cpe1, cpe2) {
match = "IsSuperset"
}
if matching.IsSubset(cpe1, cpe2) {
match = "IsSubset"
}
`
match will always be the last one, it doesn't matter the condition. In other words, if I invert the order of matching.IsSubset by matching.IsSuperset, then match = "IsSuperset"
Which means that the matching doesn't seems to be working as expected..
Metadata
Metadata
Assignees
Labels
No labels