Account Names
David Ryder
davaweb at bigpond.net.au
Mon Mar 23 14:49:06 EDT 2009
Is there some insurmountable reason the account can not be called "BF
Bal" or similar?
David
On Mon, 2009-03-23 at 14:34 -0400, Derek Atkins wrote:
> "Colin Scott" <gnucash at double-bars.net> writes:
>
> > The problem with your solution is that "B/F Bal" is going to be clearly
> > understood by anyone reading the accounts, whereas "B-F Bal" could mean
> > pretty much anything. When programming this sort of stuff, sanity
> > checking the input is absolutely fundamental, and this includes ensuring
> > that the input contains only the permitted character set. If the
> > character *is* accepted then it should just work, like any other
> > character. Either way, the reported behaviour is a bug.
>
> Which input do you sanitize?
>
> The problem here is that you can create an account with a special
> character that's perfectly legal and then later change your separator
> character to that same character you used earlier.
>
> Feel free to send in a patch that does a full recursive account name
> character check prior to allowing the user to change the directory
> separator...
>
> > Colin
>
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
>
> -derek
>
More information about the gnucash-user
mailing list