View-source URI scheme

This is an old revision of this page, as edited by Thumperward (talk | contribs) at 06:44, 17 November 2010 (Added {{notability}} tag to article using TW). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The view-source URI scheme is used by some browsers to construct URLs that refer to a source display for a given resource.

For example, this URL would show the source of the page located at http://www.example.com: view-source:http://www.example.com

Browser Support

Mozilla Firefox and Internet Explorer both supported the scheme, but support was dropped from Internet Explorer in Windows XP SP2 due to security problems.[1] Firefox also suffered a similar security issue (by combining view-source and javascript URIs[2]), but still supported it in Firefox 1.5[3] after being fixed. In 2009 a new discovered bug was fixed in Firefox 3.0.9.[4]

References

  1. ^ "view-source Protocol". MSDN. Retrieved 2009-02-25.
  2. ^ mikx (2005-05-21). "Mozilla Firefox view-source:javascript url Code Execution Exploit". milw0rm. Retrieved 2009-02-25.
  3. ^ jonathan (2005-11-30). "View Source Bug Fixed and a Tip". blogzilla. Retrieved 2009-02-25.
  4. ^ Fleischer, Gregory (April 21, 2009). "MFSA 2009-17: Same-origin violations when Adobe Flash loaded via view-source scheme". Mozilla. Retrieved 2009-04-22.
  5. ^ mackers (2008-03-24). "View Source Choice". Mozilla Add-ons. Retrieved 2009-04-22. {{cite web}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)