Merge branch 'master' into 'live'
Fix AuthTag-Subsumption to not be order-dependent Closes #241 See merge request !117
This commit is contained in:
commit
1168ad3176
@ -562,7 +562,7 @@ routeAuthTags = fmap (impureNonNull . Set.mapMonotonic impureNonNull) . ofoldM p
|
||||
| oany (authTags `Set.isSubsetOf`) prev
|
||||
-> Right prev
|
||||
| otherwise
|
||||
-> Right $ Set.insert authTags prev
|
||||
-> Right . Set.insert authTags $ Set.filter (not . (`Set.isSubsetOf` authTags)) prev
|
||||
| otherwise
|
||||
= Left $ InvalidAuthTag t
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user