philway / andiparos

Automatically exported from code.google.com/p/andiparos
0 stars 0 forks source link

Feature Request: 404 filter #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi all,

First, thanks for the resumption of the Paros project :)

I have a little request for the andiparos project: hide the 404 not found 
directories and files in the site map.

To code this function, you must edit the following file:
src/org/parosproxy/paros/model/SiteMap.java

and add the following condition on the addPath method :

public synchronized void addPath(HistoryReference ref, HttpMessage msg) {
        if (msg.getResponseHeader().getStatusCode()==404)
            return;

Regards,

Nicolas K.

Original issue reported on code.google.com by nicolas....@gmail.com on 28 Jun 2010 at 10:01

GoogleCodeExporter commented 8 years ago

Original comment by a.c.neumann on 28 Jun 2010 at 11:33

GoogleCodeExporter commented 8 years ago

Original comment by a.c.neumann on 28 Jun 2010 at 11:37

GoogleCodeExporter commented 8 years ago
Implemented as requested

Original comment by a.c.neumann on 5 Jul 2010 at 10:35