Hello, all!

I have 2 questions:

1. FuzzableRequest class have 2 vars called _dc and _data. What differences in purpose and usage of these vars?

2. we have function called uri2url:

def uri2url( url):
    '''
    @parameter url: The url with the query string.
@return: Returns a string contaning the URL without the query string. Example :
        - input url : http://localhost/foo.asp?xx=yy&bb=dd#fragment
        - output url string : http://localhost/foo.asp
    '''
    scheme, domain, path, params, qs, fragment = _uparse.urlparse( url )
    res = scheme + '://' + domain + path
    if params != '':
        res += ";" + params
    return res


Why do we suggest that URL == URI - "query string"?




--
Taras
--
"Software is like sex: it's better when it's free.", - Linus Torvalds.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to