Skip Menu |

This queue is for tickets about the Business-Shipping CPAN distribution.

Report information
The Basics
Id: 64460
Status: resolved
Priority: 0/
Queue: Business-Shipping

People
Owner: Nobody in particular
Requestors: kdmcclel [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.03
Fixed in: 3.0.0



Subject: USPS online raterequest response
[Tue Jan 04 09:37:57 2011] [error] Nested quantifiers in regex; marked by <-- HERE in m/Global Express Guaranteed&lt;sup&gt;&amp;reg;&lt;/sup&gt; (GXG)** <-- HERE / at /usr/local/share/perl/5.10.0/Business/Shipping/USPS_Online/RateRequest.pm line 438.\n Fix here: http://pastebin.com/BZZ4bmzW
On Tue Jan 04 10:06:38 2011, kdmcclel wrote: Show quoted text
Thanks! I'll include this is in the next release.
From: kdmcclel [...] gmail.com
The main fix was quotemeta. Stripping the regex fixed Priority Mail International for us, but it looks like Global Express Guaranteed wont match anymore since it has the (GXG)** in it now.
From: kdmcclel [...] gmail.com
Stripping the *reg(registered trademark) not regex
Thanks again for the patch. It went into the 3.0.0 release.