Coder Social home page Coder Social logo

cpan-parse-http-useragent's People

Contributors

burak avatar nfg avatar

Watchers

 avatar  avatar

cpan-parse-http-useragent's Issues

Blows up on bad user agent

Hey! So, I don't know where this user agent comes from, but it breaks Parse::HTTP::UserAgent:

#!/usr/bin/env perl

use strict; use warnings;
use Parse::HTTP::UserAgent 0.42;

my $bad_useragent = 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Mobile/15A372kalturaNativeCordovaPlayer';
Parse::HTTP::UserAgent->new($bad_useragent);

# Causes:
# Invalid version format (fractional part required) at /home/nfg/.plenv/versions/5.28.0/lib/perl5/site_perl/5.28.0/Parse/HTTP/UserAgent.pm line 351.
#  at blow.pl line 7.

fix duplicate NAME sections in POD

In Debian we are currently applying the following patch to
Parse-HTTP-UserAgent.
We thought you might be interested in it too.

Description: fix duplicate NAME sections in POD
 and take the second, as the first lacks the whatis entry
Origin: vendor
Author: gregor herrmann <[email protected]>
Last-Update: 2018-01-01
Bug: 

The patch is tracked in our Git repository at
https://anonscm.debian.org/cgit/pkg-perl/packages/libparse-http-useragent-perl.git/plain/debian/patches/manpage-whatis.patch

Thanks for considering,
gregor herrmann,
Debian Perl Group

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.