mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
pixel: Use user id36 rather than user name.
This commit is contained in:
@@ -152,7 +152,7 @@ def get_srpath():
|
||||
def get_pageview_pixel_url():
|
||||
"""Return a URL to use for tracking pageviews for the current request."""
|
||||
data = [
|
||||
c.user.name if c.user_is_loggedin else "",
|
||||
c.user._id36 if c.user_is_loggedin else "",
|
||||
get_srpath(),
|
||||
c.lang or "",
|
||||
c.cname,
|
||||
|
||||
@@ -125,7 +125,7 @@ int main(int argc, char** argv)
|
||||
|
||||
switch (field_index) {
|
||||
case FIELD_USER:
|
||||
/* we don't use the username; skip it */
|
||||
/* we don't use the user id; skip it */
|
||||
break;
|
||||
case FIELD_SRPATH:
|
||||
fputc('\t', stdout);
|
||||
|
||||
Reference in New Issue
Block a user