buildgrid 0.2.49__py3-none-any.whl → 0.2.50__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- buildgrid/server/auth/manager.py +8 -0
- buildgrid/server/version.py +1 -1
- {buildgrid-0.2.49.dist-info → buildgrid-0.2.50.dist-info}/METADATA +1 -1
- {buildgrid-0.2.49.dist-info → buildgrid-0.2.50.dist-info}/RECORD +8 -8
- {buildgrid-0.2.49.dist-info → buildgrid-0.2.50.dist-info}/WHEEL +0 -0
- {buildgrid-0.2.49.dist-info → buildgrid-0.2.50.dist-info}/entry_points.txt +0 -0
- {buildgrid-0.2.49.dist-info → buildgrid-0.2.50.dist-info}/licenses/LICENSE +0 -0
- {buildgrid-0.2.49.dist-info → buildgrid-0.2.50.dist-info}/top_level.txt +0 -0
buildgrid/server/auth/manager.py
CHANGED
|
@@ -98,10 +98,18 @@ def _is_localhost_request(context: grpc.ServicerContext) -> bool:
|
|
|
98
98
|
if peer_info.startswith("ipv6:[::1]:"):
|
|
99
99
|
return True
|
|
100
100
|
|
|
101
|
+
# Handle URL-encoded IPv6 localhost (e.g., "ipv6:%5B::1%5D:12345")
|
|
102
|
+
if peer_info.startswith("ipv6:%5B::1%5D:"):
|
|
103
|
+
return True
|
|
104
|
+
|
|
101
105
|
# Handle IPv4-mapped IPv6 localhost (e.g., "ipv6:[::ffff:127.0.0.1]:12345")
|
|
102
106
|
if peer_info.startswith("ipv6:[::ffff:127.0.0.1]:"):
|
|
103
107
|
return True
|
|
104
108
|
|
|
109
|
+
# Handle URL-encoded IPv4-mapped IPv6 localhost (e.g., "ipv6:%5B::ffff:127.0.0.1%5D:12345")
|
|
110
|
+
if peer_info.startswith("ipv6:%5B::ffff:127.0.0.1%5D:"):
|
|
111
|
+
return True
|
|
112
|
+
|
|
105
113
|
# Handle Unix domain sockets (e.g., "unix:/tmp/socket")
|
|
106
114
|
if peer_info.startswith("unix:"):
|
|
107
115
|
return True
|
buildgrid/server/version.py
CHANGED
|
@@ -208,7 +208,7 @@ buildgrid/server/servicer.py,sha256=oqU9MaSxxHTDmSxobFTo9YmJctaUCklE2Dj-vfYWKkc,
|
|
|
208
208
|
buildgrid/server/settings.py,sha256=Iy4eS9Putr5GroIVqYNeTcRY7gbvq29wgQoMDQgPJtA,5604
|
|
209
209
|
buildgrid/server/threading.py,sha256=4QKQYev2KoO2Q-S_OyaoR9qpWyDTVzGMWVe9o2a1yIU,4743
|
|
210
210
|
buildgrid/server/types.py,sha256=xG3bx64pbWMuEwXLuI0o8c2unt2rU2C4zsmUfmMT12c,1323
|
|
211
|
-
buildgrid/server/version.py,sha256=
|
|
211
|
+
buildgrid/server/version.py,sha256=ya_5m0ircwMCvSQZL7Ya73NVmVBoDYlp7_e1JFK_Yf8,604
|
|
212
212
|
buildgrid/server/actioncache/__init__.py,sha256=g9lb8Sn7NY5KOjkMr9GQoJovCVDEg_Fxz_EhdDbhP1I,579
|
|
213
213
|
buildgrid/server/actioncache/instance.py,sha256=UCR7ZGkv4fJOXjeIILMAdTSFWcGgBSYlBg8fMaPJpaI,3139
|
|
214
214
|
buildgrid/server/actioncache/service.py,sha256=WcikJAzFYOYX-tgiOfGGcOnPoubrCd4yP-EhKCHEW0c,2021
|
|
@@ -246,7 +246,7 @@ buildgrid/server/auth/__init__.py,sha256=avyRxG9BSFd76mCHnGYInDDTqyqDn0UlhOuFzAk
|
|
|
246
246
|
buildgrid/server/auth/config.py,sha256=sWcaSL9Oz7mLVnFBuFT7OaOGlxFd6hxEb-z30n3uTNU,2291
|
|
247
247
|
buildgrid/server/auth/enums.py,sha256=O902XU3_C4rqWz23qVipEyQMcXXr1h8XCiPWmrs1_lc,1905
|
|
248
248
|
buildgrid/server/auth/exceptions.py,sha256=z9J0K3GSBAS14HiwWL-nlWLxRKbH2cA0hgYinXXh0so,1769
|
|
249
|
-
buildgrid/server/auth/manager.py,sha256=
|
|
249
|
+
buildgrid/server/auth/manager.py,sha256=MVLyEux60EStFzJdAJX4Q0mEG1bodDVf1973lR3ULvQ,17462
|
|
250
250
|
buildgrid/server/bots/__init__.py,sha256=g9lb8Sn7NY5KOjkMr9GQoJovCVDEg_Fxz_EhdDbhP1I,579
|
|
251
251
|
buildgrid/server/bots/instance.py,sha256=JxJvI4L3z6FkhRsSs6BPs5Q7FJNvtoYZ-ganul8jqTs,1502
|
|
252
252
|
buildgrid/server/bots/service.py,sha256=Gw-fExZq_yLQvrJsnDsDiO-unLMBD2vwLD5PA8UxBnw,14678
|
|
@@ -368,9 +368,9 @@ buildgrid/server/utils/async_lru_cache.py,sha256=iLKeRPoZtZb1wC5AtcyQm8Wt0Bx-KZm
|
|
|
368
368
|
buildgrid/server/utils/bots.py,sha256=c8hn7tbCecru-m2wicRmtKU5v5rSZPGlk97Yc6eUHgQ,1729
|
|
369
369
|
buildgrid/server/utils/cancellation.py,sha256=pNETzKNoXg0AsXOXKCcLWlFl7SVKdkKinlqWl7MesRA,1703
|
|
370
370
|
buildgrid/server/utils/digests.py,sha256=YNrWeHdbNp7OVTcsInjs30C33z_t9GQ_noMd14bpqPQ,2424
|
|
371
|
-
buildgrid-0.2.
|
|
372
|
-
buildgrid-0.2.
|
|
373
|
-
buildgrid-0.2.
|
|
374
|
-
buildgrid-0.2.
|
|
375
|
-
buildgrid-0.2.
|
|
376
|
-
buildgrid-0.2.
|
|
371
|
+
buildgrid-0.2.50.dist-info/licenses/LICENSE,sha256=swa3Vs7GgALaG9p-e05M-WLkhd_U9QknacNkyVZ85xA,11338
|
|
372
|
+
buildgrid-0.2.50.dist-info/METADATA,sha256=o23bxshy0s-LF2hrppHEwkMKWcMsoPFUCSPPOnD3VlE,7040
|
|
373
|
+
buildgrid-0.2.50.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
374
|
+
buildgrid-0.2.50.dist-info/entry_points.txt,sha256=uyFAXiR9d6EDfSA5vWT8xskz6xalt4PdTuRruT6Q8rk,49
|
|
375
|
+
buildgrid-0.2.50.dist-info/top_level.txt,sha256=T6TYhI_k6NTm2871tIxGCyBIqzlKxylgF9KDLU0Hi7o,10
|
|
376
|
+
buildgrid-0.2.50.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|