Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P60469
(An Untitled Masterwork)
Active
Public
Actions
Authored by
EBernhardson
on Apr 12 2024, 4:57 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F46135829: raw-paste-data.txt
Apr 12 2024, 4:57 PM
2024-04-12 16:57:20 (UTC+0)
Subscribers
None
def get_actor_signature(ip, user_agent, accept_language, uri_host, uri_query, x_analytics_map):
wmfuuid = x_analytics_map['wmfuuid']
appInstallID = F.regexp_extract(uri_query, '(?:^|&)appInstallID=(.+)(?:&|$)', 1)
return F.md5(F.concat(
ip,
user_agent[0:200],
accept_language,
uri_host,
F.coalesce(wmfuuid, appInstallID, F.lit(''))
))
Event Timeline
EBernhardson
created this paste.
Apr 12 2024, 4:57 PM
2024-04-12 16:57:20 (UTC+0)
Log In to Comment