Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIUrlClassifierUtils Interface Reference

Some utility methods used by the url classifier. More...

import "nsIUrlClassifierUtils.idl";

Inheritance diagram for nsIUrlClassifierUtils:
Inheritance graph
Collaboration diagram for nsIUrlClassifierUtils:
Collaboration graph

List of all members.

Public Member Functions

ACString canonicalizeURL (in ACString url)
 Canonicalize a URL.

Detailed Description

Some utility methods used by the url classifier.

Definition at line 43 of file nsIUrlClassifierUtils.idl.

Member Function Documentation

ACString nsIUrlClassifierUtils::canonicalizeURL ( in ACString  url)

Canonicalize a URL.

DON'T USE THIS DIRECTLY. Use PROT_EnchashDecrypter.prototype.getCanonicalUrl instead. This method url-decodes a string, but it doesn't normalize the hostname. The method in EnchashDecrypter first calls this method, then normalizes the hostname.

urlString to canonicalize
String containing the canonicalized url (maximally url-decoded, then specially url-encoded)

The documentation for this interface was generated from the following file: