hsluoyz commented on issue #275: URL: https://github.com/apache/casbin-cpp/issues/275#issuecomment-6536975880
Thanks for the report. `keyMatch5` is now a built-in function, implemented in https://github.com/apache/casbin-cpp/commit/8acc4702857dbf28c2a8f54eb3079f859cbad2e5 It strips the query string from the request path and then matches like `keyMatch3` (`{name}` matches one path segment, `/*` is a wildcard), the same as the Go implementation. The test cases are ported from Go's `TestKeyMatch5Func`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
