Skip to content

Commit 6f0969e

Browse files
committed
: is unauthorized
1 parent 8ed2269 commit 6f0969e

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

ddtrace/internal/process_tags/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
ENTRYPOINT_BASEDIR_TAG = "entrypoint.basedir"
2121

2222
_CONSECUTIVE_UNDERSCORES_PATTERN = re.compile(r"_{2,}")
23-
_ALLOWED_CHARS = _ALLOWED_CHARS = frozenset("abcdefghijklmnopqrstuvwxyz0123456789/:._-")
23+
_ALLOWED_CHARS = _ALLOWED_CHARS = frozenset("abcdefghijklmnopqrstuvwxyz0123456789/._-")
2424
MAX_LENGTH = 100
2525

2626

tests/internal/test_process_tags.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,35 @@
2727
("TestCAPSandSuch", "testcapsandsuch"),
2828
("Test Conversion Of Weird !@#$%^&**() Characters", "test_conversion_of_weird_characters"),
2929
("$#weird_starting", "weird_starting"),
30-
("allowed:c0l0ns", "allowed:c0l0ns"),
30+
("allowed:c0l0ns", "allowed_c0l0ns"),
3131
("1love", "1love"),
3232
("/love2", "/love2"),
3333
("ünicöde", "ünicöde"),
34-
("ünicöde:metäl", "ünicöde:metäl"),
34+
("ünicöde:metäl", "ünicöde_metäl"),
3535
("Data🐨dog🐶 繋がっ⛰てて", "data_dog_繋がっ_てて"),
3636
(" spaces ", "spaces"),
3737
(" #hashtag!@#spaces #__<># ", "hashtag_spaces"),
38-
(":testing", ":testing"),
38+
(":testing", "testing"),
3939
("_foo", "foo"),
40-
(":::test", ":::test"),
40+
(":::test", "test"),
4141
("contiguous_____underscores", "contiguous_underscores"),
4242
("foo_", "foo"),
4343
("\u017fodd_\u017fcase\u017f", "\u017fodd_\u017fcase\u017f"),
4444
("", ""),
4545
(" ", ""),
4646
("ok", "ok"),
4747
("™Ö™Ö™™Ö™", "ö_ö_ö"),
48-
("AlsO:ök", "also:ök"),
49-
(":still_ok", ":still_ok"),
48+
("AlsO:ök", "also_ök"),
49+
(":still_ok", "still_ok"),
5050
("___trim", "trim"),
51-
("12.:trim@", "12.:trim"),
52-
("12.:trim@@", "12.:trim"),
53-
("fun:ky__tag/1", "fun:ky_tag/1"),
54-
("fun:ky@tag/2", "fun:ky_tag/2"),
55-
("fun:ky@@@tag/3", "fun:ky_tag/3"),
56-
("tag:1/2.3", "tag:1/2.3"),
57-
("---fun:k####y_ta@#g/1_@@#", "---fun:k_y_ta_g/1"),
58-
("AlsO:œ#@ö))œk", "also:œ_ö_œk"),
51+
("12.:trim@", "12._trim"),
52+
("12.:trim@@", "12._trim"),
53+
("fun:ky__tag/1", "fun_ky_tag/1"),
54+
("fun:ky@tag/2", "fun_ky_tag/2"),
55+
("fun:ky@@@tag/3", "fun_ky_tag/3"),
56+
("tag:1/2.3", "tag_1/2.3"),
57+
("---fun:k####y_ta@#g/1_@@#", "---fun_k_y_ta_g/1"),
58+
("AlsO:œ#@ö))œk", "also_œ_ö_œk"),
5959
("test\x99\x8faaa", "test_aaa"),
6060
("test\x99\x8f", "test"),
6161
("a" * 888, "a" * 100),

0 commit comments

Comments
 (0)