Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIURIFixupInfo

This article needs a technical review. How you can help.

This article needs an editorial review. How you can help.

Interface indicating what we found/corrected when fixing up a URI.
Inherits from: nsISupports Last changed in Gecko 1.7

Attributes

Attribute Type Description
consumer nsISupports Consumer that asked for fixed up URI.
preferredURI nsIURI Our best guess as to what URI the consumer will want. Might be null if we couldn't salvage anything (for instance, because the input was invalid as a URI and FIXUP_FLAG_ALLOW_KEYWORD_LOOKUP was not passed) Read only.
fixedURI nsIURI The fixed-up original input, *never* using a keyword search. (might be null if the original input was not recoverable as a URL, e.g. "foo bar"!). Read only.
keywordProviderName AString The name of the keyword search provider used to provide a keyword search; empty string if no keyword search was done.Read only.
keywordAsSent AString The keyword as used for the search (post trimming etc.) empty string if no keyword search was done. Read only.
fixupChangedProtocol boolean Whether we changed the protocol instead of using one from the input as-is.. Read only.
fixupCreatedAlternateURI boolean Whether we created an alternative URI. We might have added a prefix and/or suffix, the contents of which are controlled by the browser.fixup.alternate.prefix and .suffix prefs, with the defaults being "www." and ".com", respectively. Read only.
originalInput AUTF8String The original input. Read only.

Document Tags and Contributors

 Contributors to this page: MKaply
 Last updated by: MKaply,