tekiegirl
tekiegirl

Reputation: 1315

Why is a number in my link text appearing as *************** (stars)?

I have posted this as, although I worked out the answer, I could not find anything about it in a Google/stackoverflow search. I hope it might help someone in the future.

My C# MVC app generates a link and emails it to the user. In the email the html is simply a link tag with the url used as the href and the link text.

In the email in Outlook the link displays as below:

http://mydomain.com/Foo/Bar?id=6***************

When you hover over the link it shows as

http://mydomain.com/Foo/Bar?id=6523054102058710

The numbers should always show, otherwise the user may be suspicious.

Upvotes: -1

Views: 354

Answers (1)

tekiegirl
tekiegirl

Reputation: 1315

It turns out that the number I was generating was 16 digits, inadvertently the same as a credit/debit card number. This meant that some email clients were hiding the number to protect privacy.

To solve the problem I simply changed the number of digits.

Upvotes: 3

Related Questions