Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User agent no set? #6

Open
activeg opened this issue Jun 18, 2012 · 1 comment
Open

User agent no set? #6

activeg opened this issue Jun 18, 2012 · 1 comment

Comments

@activeg
Copy link

activeg commented Jun 18, 2012

Thanks for the code.

Periodically I get this:

Warning caught during route execution: Use of uninitialized value in pattern match (m//) at /usr/local/share/perl/5.10.1/Dancer/Plugin/MobileDevice.pm line 11.

It appears user_agent is not being set by some clients. Perhaps the code should do a test for this situation upfront.

@AndrewRayCode
Copy link

Just came here to report this. pretty silly that this case isn't accounted for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants