I don't know if this is too late to add to this, but let me point out
that you're trying to pass the parameter to Freewheel.
My understanding is that you have a situation like this:
Your file is at http://mysite.com/getmyfile?folder=A&file=B
You're trying to pass this to Freewheel, that takes this path as a URL
parameter:
http://freewheel.autodesk.com/dwf.aspx?path=YOUR_PATH
Since it's a URI component, YOUR_PATH should be encoded accordingly,
otherwise the browser will think that it's a set of URI components that
you would like to pass to Freewheel, even though it's something your
server needs to get, not Freewheel.
So, if you say:
http://freewheel.autodesk.com/dwf.aspx?path=http://mysite.com/getmyfile?folder=A&file=B
that will result in Freewheel getting this on the server side
(essentially taking the URL apart along the '&'-s):
path: http://mysite.com/getmyfile?folder=A
file: B
or something similar.
Instead, you'd like Freewheel to get this:
path: http://mysite.com/getmyfile?folder=A&file=B
Which means, that you need to encode your URL as a URI Component. This
would result in this:
http://freewheel.autodesk.com/dwf.aspx?path=http%3A%2F%2Fmysite.com%2Fgetmyfile%3Ffolder%3DA%26file%3DB
For further information, you should look into URL and URI encoding.
sbower wrote:
> Ah... ok, thanks for the help guys. I'm working on an integration with a third party on-demand service and I need to pass some ugly parameter strings through Freewheel as the source URL for the .dwf file.
>
> Looking forward to the next update. 🙂 Steve.