PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001523PacketFencepublic2012-08-21 11:552012-09-06 10:57
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.5.1Fixed in Version3.5.1 
Summary0001523: person pid parsing regression
DescriptionWhen triggered by the Web admin with the form:

ARGS='person add user@email.com firstname="",lastname="",email="",telephone="",company="",address="",notes="",sponsor=""' /usr/local/pf/bin/pfcmd

Exposed to the person tab in 3.4.0. Regex issue actually introduced in 3.0.0 when the manage_register was migrated from value to pid.
TagsNo tags attached.
fixed in git revision7d8a39599
fixed in mtn revision
Attached Files

- Relationships
has duplicate 0001528closed Command "pfcmd person add" ignores space. 

-  Notes
(0002955)
obilodeau (reporter)
2012-08-21 16:48

I just finished writing the regression test. Will commit tomorrow.
(0002956)
obilodeau (reporter)
2012-08-22 09:53

Explanation: The pid parser allowed spaces even in the unquoted format which means that it greadily expanded to grab the next token (pid firstname=...) instead of just sticking to it's pid.

fix in pull request: https://github.com/inverse-inc/packetfence/pull/52 [^]

targeted for next stable release
(0003022)
obilodeau (reporter)
2012-09-06 10:57

fix released in 3.5.1 yesterday

- Issue History
Date Modified Username Field Change
2012-08-21 11:55 obilodeau New Issue
2012-08-21 11:58 obilodeau Status new => assigned
2012-08-21 11:58 obilodeau Assigned To => obilodeau
2012-08-21 16:48 obilodeau Note Added: 0002955
2012-08-22 09:53 obilodeau git revision => 7d8a39599
2012-08-22 09:53 obilodeau Note Added: 0002956
2012-08-22 09:53 obilodeau Status assigned => resolved
2012-08-22 09:53 obilodeau Fixed in Version => +1
2012-08-22 09:53 obilodeau Resolution open => fixed
2012-08-23 10:53 francis Relationship added has duplicate 0001528
2012-09-06 10:56 obilodeau Target Version => 3.5.1
2012-09-06 10:56 obilodeau Fixed in Version +1 => 3.5.1
2012-09-06 10:57 obilodeau Note Added: 0003022
2012-09-06 10:57 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker