albfernandez / jboss-seam

Seam 2: enterprise Java development framework
http://albfernandez.github.io/jboss-seam/
GNU Lesser General Public License v3.0
11 stars 5 forks source link

Can jboss-seam ignore extra params that seo systems add? #168

Open duttonw opened 2 years ago

duttonw commented 2 years ago

Hi @albfernandez,

I know I'm going out on a limb on this and believe the answer is no, but still want to see if it is at least doable via a hidden config options.

I have an application that people still use. They embed it onto facebook as well as email newsletters and many of these systems inject 'tracking' params to the url. this application hates this and rather than gracefully showing the page, it 302 redirects the user to a 500 exception page.

My current plan is to add a param stripper to apache or similar to remove these unwanted params before they hit this legacy application.

Would this be the same course of action you would do?

Regards,

@duttonw

albfernandez commented 2 years ago

Hi

I'm not sure in the details, but if it can be done via apache, I think it's a good option to leave the lecgacy app untouched.

Anyway, it's strange: any extra params shoud be ignored, Why are that params causing the app to crash? Have you any trace?