View-source URI scheme

From Wikipedia, the free encyclopedia
  (Redirected from View-source)
Jump to: navigation, search

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 URI would show the source of the page located at http://www.example.com: view-source:http://www.example.com

On 25 May 2011 the 'view-source' URI scheme was officially registered with IANA [1] per RFC 4395.

[edit] 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.[2] Firefox also suffered a similar security issue (by combining view-source and javascript URIs[3]), but still supported it in Firefox 1.5[4] after being fixed. In 2009 a new discovered bug was fixed in Firefox 3.0.9.[5]

[edit] References

  1. ^ Yevstifeyev, M.. "'view-source' URI scheme registration template". http://www.iana.org/assignments/uri-schemes/prov/view-source. Retrieved 17 July 2011. 
  2. ^ "view-source Protocol". MSDN. http://msdn.microsoft.com/en-us/library/aa767742.aspx. Retrieved 2009-02-25. 
  3. ^ mikx (2005-05-21). "Mozilla Firefox view-source:javascript url Code Execution Exploit". milw0rm. http://www.milw0rm.com/id.php?id=1007. Retrieved 2009-02-25. 
  4. ^ jonathan (2005-11-30). "View Source Bug Fixed and a Tip". blogzilla. http://deftone.com/blogzilla/archives/view_source_bug_fixed_and_a_tip.html. Retrieved 2009-02-25. 
  5. ^ Fleischer, Gregory (April 21, 2009). "MFSA 2009-17: Same-origin violations when Adobe Flash loaded via view-source scheme". Mozilla. http://www.mozilla.org/security/announce/2009/mfsa2009-17.html. Retrieved 2009-04-22. 
  6. ^ Robitaille, Jason (2010-08-28). "Internalz 1.3 brings style with a dark theme and more". PreCentral. http://www.precentral.net/internalz-1-3-brings-style-dark-theme-and-more. Retrieved 2011-02-11. 
Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages