May a USE flag be added to the net-proxy/paros to remove the user agent string? For example, the following patch: ''' diff -Nru paros.orig/src/org/parosproxy/paros/Constant.java paros/src/org/parosproxy/paros/Constant.java --- paros.orig/src/org/parosproxy/paros/Constant.java 2010-09-20 15:11:26.459001974 +0000 +++ paros/src/org/parosproxy/paros/Constant.java 2010-09-20 15:12:02.804956987 +0000 @@ -77,7 +77,8 @@ private static Constant instance = null; public static final int MAX_HOST_CONNECTION = 5; - public static final String USER_AGENT = PROGRAM_NAME + "/" + PROGRAM_VERSION; +// public static final String USER_AGENT = PROGRAM_NAME + "/" + PROGRAM_VERSION; + public static final String USER_AGENT = ""; private static String staticEyeCatcher = PROGRAM_NAME; private static boolean staticSP = false; ''' Reproducible: Always Steps to Reproduce: Feature Request
Created attachment 248169 [details, diff] Example
For what reason are you suggesting this change?
I would like the ability to use the proxy without "Paros/3.2" being appended to the browsers User Agent String, and am sure others would like to same option. Which can be done with the attached patch. This is not a bug, but a feature request.
I guess that's a candidate for an obvious WONTFIX.
(In reply to comment #3) > I would like the ability to use the proxy without "Paros/3.2" being appended to > the browsers User Agent String, and am sure others would like to same option. > Which can be done with the attached patch. This is not a bug, but a feature > request. > You didn't answer my question. It is kind of obvious that you want it not prepend the proxy name. *Why* is the interesting bit.
I work in the network security field and encounter may instances where I need to control what is in the user agent string, for example a proxy server (other than paros) can present authentication requirements depending on the content of a user agent string. I have been applying the attached patch and rebuilding the ebuild for some time now with each new update (not a big deal) and thought that others such as myself would greatly appreciate a USE flag. Several of my colleagues using Gentoo do the same thing.
dropped