Problem:
In the past few days, some garden technical colleagues have reported that there is no suffix when downloading autumn-style ad killers.
The problem persists for a long time:
In fact, this problem is also reflected by the majority of weibo fan genie users. However, it is normal for me to perform a thousand tests on this machine.
I worked very hard to find the problem:
1: I have also tested N types of browsers (ie, firefox, chrome, maxthon, etc.), and it is normal.
2: I switched to different download software tests (qq tornado, Thunder, etc.), still normal ....
3: I searched all kinds of keywords on the Internet: (the browser downloads related text without a suffix), it is not found a relevance article.
Reminder:
All these questions can only be opened for the moment. If the user is not suspended, the browser will download a suffix, And the suffix of .rar should be modified later.
Good communication with technical friends:
Since the previous users only reflected that there was no suffix, they did not tell any browsers to download the data, and added a lot of tips.
Fortunately, this time the garden friends directly reflected that it was Chrome, and my Chrome was also normal;
So: Let the other party release the version number, and then install the new version on its own. A test will not work.
Okay, I finally got a download without a suffix on my local machine, so I don't have to guess again.
If the problem can be reproduced, the problem can be easily solved:
Well, I started to capture packets and wanted to compare whether the request was special. This capture made me discover the secrets:
Why not?
There are two ":"
Go back and read the code:
I wrote another ":" and deleted it quickly. Everything is normal ..
The tragedy is that chrome does not recognize it .... Other browsers are compatible.
Summary:
It has been more than a year since the BUG was stored, and it has been a tragedy for more than a year. Well, I have created a new type of exception for the Internet.
Old, this code repeat several dozen or hundreds of times in front of me, that is, I never saw the ":"...