A Glitch Caused Donald Trump’s Site to Say Whatever The Internet Wanted It to Say

Nov 09, 2016

Until recently, Republican presidential candidate Donald Trump's official campaign website featured an amusing glitch that allowed Internet users to modify its headline text however they so pleased.

The campaign website's home page auto-generated a default message that encouraged visitors to vote for the Trump ticket. But by editing the text in the page's URL—replacing words between its "%20" notation dividers, typical URL encoding that denotes spacing—anyone could replace those words with their own message.

Fortune was able to manipulate the entry field before Trump's team fixed the glitch at about 6 p.m. ET, as seen in the screenshot below. (We do not actually recommend that you vote for the author of this post for president.)

screen-shot-2016-11-08-at-5-55-51-pm

Get Data Sheet, Fortune’s technology newsletter.

Other people had some fun vandalizing the web header as well.

Slate originally wrote that someone had "hacked" the website to display a poop emoji. The online publication issued a correction noting that this URL-meddling is not a proper hack, and is only visible on the computer of the person who tampered with the web address.

For more on Donald Trump, watch:

The trick is called "content spoofing," and it affects about a quarter of all websites, as Jeremiah Grossman, chief security strategist at SentinelOne, an antivirus startup, pointed out on Twitter.

The Trump campaign's website administrators initially implemented a quick fix that stopped headline text from appearing on the webpage. At least one person soon found a workaround.

Soon after, the website administrators changed the page to redirect to donaldjtrump.com, the campaign's homepage, ending the shenanigans.

Incidentally, this back-and-forth between attackers (the vandals) and defenders (the Trump team) exemplifies the cat and mouse game that is cybersecurity.

For more on the election, stay tuned on Fortune.com.

All products and services featured are based solely on editorial selection. FORTUNE may receive compensation for some links to products and services on this website.

Quotes delayed at least 15 minutes. Market data provided by Interactive Data. ETF and Mutual Fund data provided by Morningstar, Inc. Dow Jones Terms & Conditions: http://www.djindexes.com/mdsidx/html/tandc/indexestandcs.html. S&P Index data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved. Terms & Conditions. Powered and implemented by Interactive Data Managed Solutions