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

Just a tiny typo #1

Closed pascalbetz closed 12 years ago

pascalbetz commented 12 years ago

Unfortunately the gem did not work for my case... need to investigate a bit further. But many thanks anyway.

Pascal

spilliton commented 12 years ago

Nice! Thanks for finding the typo and trying it out :)

I just pushed a new version of the gem. The first version I had only tested on MS Office for mac and based the regex on the user agents it provided, but it looks like on windows (at least the version a co-worker had) it uses a different user agent.

Let me know if the newer version fixed it for you and if not, if you could log the http user agent string from the initial request from your version of office, that would be awesome :)

pascalbetz commented 12 years ago

I will try the new version but this needs to wait until next week or so. As i can only test it out at the customers site.