-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle consecutive path segments containing IDs in collector
Previously, we would fail to strip IDs from paths if they appeared in consecutive path segments. This is because our regex that looked for IDs and UUIDs would consume the `/` character that followed them, causing the next one not to match. This commit uses a lookahead to match against the `/` without consuming it. Signed-off-by: Chris Sinjakli <chris@sinjakli.co.uk>
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters