spilliton / fix_microsoft_links

Fixes redirects to login pages when a user clicks a link to your site from a Microsoft application like Word or Excell
MIT License
21 stars 7 forks source link

Given the similar behavior of LibreOffice and Konqueror it worked out… #7

Closed jbanahan closed 6 years ago

jbanahan commented 6 years ago

… nicely to just add it to the user agents list for me. The offending user agent looks like this: Mozilla/5.0 (X11; Linux x86_64) KHTML/5.36.0 (like Gecko) Konqueror/5 KIO/5.36

spilliton commented 6 years ago

👍 🥇

Thanks for contributing!

spilliton commented 6 years ago

I just pushed https://rubygems.org/gems/fix_microsoft_links/versions/0.1.5

I don't have a good repo setup anymore for testing, would you mind trying out 0.1.5 when you have a chance and let me know if it works? Haven't pushed a gem in a while and want to make sure I did it right :)

jbanahan commented 6 years ago

Works like a charm! After some input from a colleague, I'm probably going to have another pull request for you. While this works it really should only include the Konkuerer w/ KIO. It doesn't seem to catch on the regular browser from my testing, but it should be made more explicit. https://developers.whatismybrowser.com/useragents/explore/software_name/konqueror/