My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 79: eclipse plugin: figure out how to get javascript and all from cfdump
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  marc.es...@gmail.com
Closed:  Mar 2008
Cc:  virtix


 
Project Member Reported by marc.es...@gmail.com, Mar 9, 2008
when you get cfdumps back in the plugin, the javascript isn't there. this
is because cf uses the user-agent header to determine whether the request
is issued from a browser and, if so, it gives the javascript. but if the
request is coming from a program, like cfhttp or axis, it returns a slimmed
down version.

when i try to set the user agent header in the plugin, it doesn't work
correctly... it adds a second user-agent header (confirmed with tcpmon)
instead of overwriting the default. this then causes "bad request"
responses from the webserver.

to fix, i'm going to try modifying axis 1.4 itself to behave like i want it
to behave
Mar 9, 2008
Project Member #1 marc.es...@gmail.com
i just released a version of the plugin that should correct this. here's what I did:

1) unzipped axis.jar
2) in the i18n subdir there are two properties files with a userAgentHeader key. the
key is set during the build process to be Axis/#buildversion#. So I changed it to
Mozilla/5.0(Axis1.4-MXUnit) in both places
3) rezipped, renamed to axis.jar, and replaced the original axis.jar with my new version
Mar 10, 2008
Project Member #2 marc.es...@gmail.com
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting