I just commited it. By the way, it is important in prerelease code freeze period that I made small fix in core components.
I searched _baseUrl entries in whole code and decided that my fix would break nothing. .-(~/Projects/w3af/trunk) `--> grep -R _baseUrl * | grep -v svn | grep -v pyc core/data/parsers/htmlParser.py: assert self._baseUrl != '', 'The base URL must be setted.' core/data/parsers/htmlParser.py: action = urlParser.urlJoin( self._baseUrl, decoded_action ) core/data/parsers/abstractParser.py: self._baseUrl = url core/data/parsers/sgmlParser.py: self._baseUrl = urlParser.urlJoin( self._baseUrl , new_base_url ) core/data/parsers/sgmlParser.py: url = urlParser.urlJoin( self._baseUrl , url ) core/data/parsers/sgmlParser.py: url = urlParser.urlJoin(self._baseUrl, attr[1]) core/data/parsers/htmlParser.py~: assert self._baseUrl != '', 'The base URL must be setted.' core/data/parsers/htmlParser.py~: action = urlParser.urlJoin( self._baseUrl, attr[1] ) core/data/parsers/wmlParser.py: assert self._baseUrl != '', 'The base URL must be setted.' core/data/parsers/wmlParser.py: action = urlParser.urlJoin( self._baseUrl , decoded_action) FYI: about making absolute URLs from base and relative you can read in section "5. Examples and Recommended Practice" of "Relative Uniform Resource Locators" RFC 1808[0]. [0] http://www.ietf.org/rfc/rfc1808.txt On Sun, 2009-04-12 at 15:18 -0300, Andres Riancho wrote: > Taras, > > On Fri, Apr 10, 2009 at 5:22 PM, Taras P. Ivashchenko > <naplan...@gmail.com> wrote: > > Hello, list! > > > > > > Is it normal that w3af doesn't understand links like > > <a href="?foo=bar">some link</a> > > ? > > hmmm, that's strange.. > > > All browsers interprets this like FULL_URL?foo=bar but w3ad does not do > > it :( > > If the browsers follow those URLs, we should follow them. > > > > > I just made patch for it, so I can commit it. > > > > Commit it to the trunk, AND to the 1.0 branch please. -- Тарас Иващенко (Taras Ivashchenko), OSCP www.securityaudit.ru ---- "Software is like sex: it's better when it's free." - Linus Torvalds
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
_______________________________________________ W3af-develop mailing list W3af-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-develop