#472 "valid users" option and spaces

None
closed
nobody
None
5
2012-12-06
2012-11-23
No

Netatalk 3 uses ',' and ' ' as field delimiter in the "valid users" option for consistency with other options that also allow the use of ' ' as field delimiter.
But as user and groupnames may contain spaces, we need to revert to the Netatalk 2 behaviour where only ',' was used as delimiter.

Discussion

  • Ralph Böhme

    Ralph Böhme - 2012-11-23
    • status: open --> closed
    • milestone: -->
     
  • Ralph Böhme

    Ralph Böhme - 2012-11-23

    Fixed in c7683d5aae3d154250df531a5d34e4a464b5ced2.

     
  • Ralph Böhme

    Ralph Böhme - 2012-12-03

    Valid concerns have been raised that the format of options shouldn't be changed in point releases.
    Instead, in order to fix the issue, a proposal has been made to add support for quoting names using a simple function strtok_quote(), allowing for quoting names as neccessary, eg "foo bar".

     
  • Ralph Böhme

    Ralph Böhme - 2012-12-03
    • status: closed --> open
     
  • Ralph Böhme

    Ralph Böhme - 2012-12-06
    • status: open --> closed
     

Log in to post a comment.