Home > News content

Because her name is true, she was rejected by Apple icloud

via:博客园     time:2021/3/8 17:31:14     readed:462

A foreign Apple user, who applied for icloud service, was rejected for incredible reasons.

Not only refused, but her ID was blocked for six months.

All this is because there is a true in her name.

What's more, it's really hard to solve this problem. A 30-year-old programmer on twitter advised her to:


This unfortunate elder sister, named Rachel true, is an actor and model in the United States.

True as a surname is really rare, but this nice name has become a big problem when applying for icloud.


In the result returned by apple, we can see that the system cannot assign true to the variable LastName.

This error causes icloud's application process to terminate.


And, according to Rachel true, apple directly locked her ID for six months.

The reason has not been explained in detail, but it is likely that the system determines that the process is abnormal and takes defensive measures to avoid malicious SQL injection.


In the past few days, she has been constantly appealing to apple and dealing with Apple support, which takes an average of two or three hours a day.

But the problem can't be solved at all, but icloud service fee is still charged.

Of course, no wonder Apple has been using true in its code for decades.

We analyze that Apple's code does not force all the values entering LastName to be recognized as strings.

So to solve this problem, you can either put single quotation marks before and after the name, or you can only change the name.

There's a classic joke circulating among programmers, Bob tables.


Now you should understand how important it is to purify the input??

Many people have said that this incident is a real-life version of "Bobby tables".

In addition to true, there are many people whose names have crashed the system.

Null is not a rare surname. Many people find it difficult to go out and even buy air tickets. Foreign media reported that a Jennifer null changed her surname after she got married so that she could use all kinds of services normally.

On twitter, there is a programmer girl from Holland. Her surname is van OS. When she graduated and started work, the company used bash script to set up a new employee account.


As a result, the operation did not put quotation marks on the first name, and the space in the last name directly broke the whole script.


In fact, this kind of problem, in addition to bring a lot of inconvenience to the user himself, there are also great security risks in the system security.

As many people have reminded us, the misidentification of each string is a SQL injection attack opportunity that hackers can take advantage of.

Fortunately, we Chinese users do not have to worry about this problem~

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments