"Share a link" for a post should not leak username

Currently, using the “Share a link” or copying the URL associated with a post’s timestamp results in a URL that contains the username of whoever does the copying, if that person happened to be logged in at the time. This poses some privacy concern: If the link gets shared around, possibly forwarded multiple times, it exposes who was the original person to create it – like a watermark. While it is possible to just remove the u=..., this is easily forgotten when just copy-pasting URLs around. After all, users do not typically expect a URL to leak information like this. I also tried hard to come up with a good reason for why the username is in the link, and failed – I suppose there is a reason, but I wonder if it is worth the cost?

So, please remove the u=... at the end of posts’ URLs.

5 إعجابات

It discussed already and having a solution below

10 إعجابات

Including the username is a feature that allows Discourse to track who has shared a link. One can easily copy the URL from the web browser. If you want to disable this feature see the discussion @vinothkannans linked to.

إعجابَين (2)

I love the feature because it enables us to track the top referrers, who we do appreciate with gifts and freebies. It’s one of the ways we grow our community.

6 إعجابات

I am not an admin of the forums I frequent, so I it doesn’t seem like I can do the customization you are suggesting.

You are literally tracking people across the internet for the benefit of some cute badges…? :frowning:

إعجاب واحد (1)

Then rather than clicking the :link: icon, type control-L then control-c. If you really want to use the mouse, then you can click the location bar in your browser, and probably right-click and select “copy”.

Being able to give users credit for bringing new users to a community is literally a valuable benefit in the eyes of many community managers.

إعجاب واحد (1)

Usernames are public and specific to the site, so I don’t think it’s a privacy issue.

إعجاب واحد (1)

I usually want to link to a particular post. When I see three posts on the screen, I do not know which one the link goes to.

I see. I personally don’t agree, but at least this explains why the name is added to the link. I still think it’s a very problematic default, but I realize that this kind of community building has higher priority here than privacy concerns.

I don’t follow. It’s not about leaking the fact that a user with that name exists on that forum – that’s indeed public information. It’s about the fact that this user is the one who originally shared this link. That’s definitely not public information.

إعجابَين (2)

Sorry, but I’m not following.

For me, the ?u=mittineague can easily be removed with an edit - if I wanted to not have it for a post I was referring to, and alternatively it could be removed by script - if I wanted to not have it for any posts referred to by anyone.

Personally, if I care enough to refer to a post, I really don’t care if others know that it was me that referred to it. That is, I don’t understand how this could be a source of a “privacy” problem. Please post an example of how this can be a problem.

إعجاب واحد (1)

I think that the logic is that If they shared the link publicly, e.g, on twitter, then it’d be public that they’d shared it anyway. But your logic is different.

Well this would first of all leak a connection between maybe otherwise uncorrelated usernames. I may not want to reveal who I am on that forum as I pass on links to a different group of people. I wouldn’t expect that to be revealed.
Also, the name sticks around as the link gets copy-pasted into more places, still pointing to who originally started the reference.

Technically savvy people will easily recognize that their username is in the URL and just remove it, but I wouldn’t expect non-technical people to know that they can modify a URL like that and still have it point to the same thing.

إعجاب واحد (1)

I tried this in another forum where I am admin, and it does not work. When I click on a post’s time and copy what I get, it still adds ?u=... to the URL.

That script will remove the username from “share a link to this post” button only. Not in the time link. If you like to remove that then you have to add some extra modifications.

3 إعجابات

هل يمكن إضافة ميزة تفضيلات المستخدم لتعطيل تتبع اسم المستخدم للمستخدمين الذين لا يرغبون في ذلك؟ لا أريد اسم المستخدم الخاص بي في روابط الطوابع الزمنية الخاصة بي. يمكنني تعديل عنوان URL يدويًا ولكنه مزعج وعرضة للخطأ.

4 إعجابات

أعتقد أن هناك منتدى سيقدر هذا أيضًا. :+1:

أعتقد أن مثالاً لحالة استخدام سيكون منتدى لا تمانع فيه أن يعرف الناس أنك قرأته بشكل عام، ولكنك لا تريد أن يربطك الناس بمنشوراتك الفعلية (على سبيل المثال، منتدى نصائح جنسية أو منتدى للصحة النفسية).

أعتقد أنه من الممكن إنشاء مكون سمة صغير لتجاوز هذه الوظيفة. للعلم، سيؤدي ذلك إلى إزالة اسم المستخدم من عنوان URL إذا قمت بتعطيل الشارات في إعدادات الموقع.

3 إعجابات

سيكون من الجيد أن نتمكن من التأكد من أن لكل مستخدم رمز إحالة مختلف بدلاً من لقبه. أعني على سبيل المثال، لقبي هو bigluke97 ولكن رابط الإحالة الخاص بي هو hrt72skd0. بحيث يكون رابط الإحالة الخاص بي على سبيل المثال:؟ u = hrt72skd0 وسيعرف النظام أنه كنت أنا (bigluke97)، بحيث يعرف الموظفون فقط من يرتبط به رمز إحالة معين، ولكن ليس المستخدمون الآخرون. لا يجعله مجهولاً تمامًا، ولكنه على الأقل لا يعرض اسم المستخدم مباشرة وهو أكثر عمومية بكثير.

بصراحة، لا أرى مشكلة في استخدام اسم المستخدم كرمز في الرابط، ولكنه لا يزال فكرة رائعة تركز على الخصوصية في رأيي.

6 إعجابات

يمكنني دعم إعداد موقع هنا @zogstrip هل يمكننا تخصيص هذا للإصدار القادم؟

5 إعجابات

مجدول للإصدار التالي.

هل يمكنك التوسع؟

  • إعداد الموقع لتعطيل إلحاق ?u=sam بالروابط التي يعرضها discourse عند النقر على أيقونة السلسلة تمامًا

أو

  • إعداد لكل مستخدم؟
4 إعجابات

ألن توفر الروابط المرجعية المجهولة التي اقترحها @yhh9xdq7d معظم أو كل فوائد الخصوصية دون إزالة الوظائف (تتبع الإحالات)؟ هل هناك سبب يجعل إعداد الموقع لتعطيل الروابط المرجعية تمامًا يكون أكثر تفضيلاً؟

3 إعجابات