how do I ignore extra data added on to the url by crystal reports in rails

I have a url in the layout of this example:

http://www.example.com/controller/action/id.format

so it would look like this normally:

http://www.example.com/accounts/index/1.xml

However, crystal reports adds on its own info to the end of it to make it look like this:

http://www.example.com/accounts/index/1.xml?Validate%20XML=0&Use%20WS-Security%20Config%20File=0&WS-Security%20File%20Location=

How can I ignore everything after the .xml in rails or how can I make crystal reports not do that.

beefnorthwestAsked:
Who is Participating?
 
cminearCommented:
For any request to a Rails website, the query information after the '?' in the URL is parsed and placed into the 'params' hash variable that is made available to every action in every query.  So to ignore it, simply don't use anything from the 'params' variable in your controller code.  

If you have tried the above and are still having problems, could you elaborate on what's happening?  What problem are you seeing because of the Crystal Reports addition?  Could you include the Rails code that is causing the problem?
0
 
fridomCEO/ProgrammerCommented:
None of the links is working...

Regards
Friedrich
0
 
beefnorthwestAuthor Commented:
I had a piece of code wrong, and thought it was the extras.

Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.