Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

WYCIWYG

From Wikipedia, the free encyclopedia

What You Cache Is What You Get (WYCIWYG) is a Uniform Resource Identifier (URI) scheme commonly displayed in the address bar of Gecko-based Web browsers like Mozilla Firefox as wyciwyg:// when the Web browser is retrieving cached information. WYCIWYG is a play on the related acronym WYSIWYG (What You See Is What You Get).

Usage

[edit]

Mozilla Firefox implements a registered, strictly internal wyciwyg URI scheme to sort and later reference locally cached pages that were generated or modified by a script on the client side (a common practice for Web 2.0 sites).

Security issues

[edit]

In 2007 Michał Zalewski reported that it was possible to bypass the same-origin checks and read from cached (wyciwyg) documents. It was possible at that time to access wyciwyg:// documents without proper same domain policy checks. This could have enabled an attacker to steal sensitive data, perform cache poisoning and execute their own code or display own content with URL bar and SSL certificate data of the original page (URL spoofing).[1] This was fixed in Firefox 2.0.0.5 and SeaMonkey 1.1.3.[2]

References

[edit]