BambooInvoice Forums

Semicolon after Campany name - cannot remove it

 
Total Posts: 7

Hello. Thanks for a excellent system!

One small bug (I think):

I use the version 0.8.9.

When I edit my Company Name in the “Settings”, the system insists to put a ; (semicolon) after my company name. If I try to remove it and save, it reappears.

This ; also appears in the E-mail sent, also in the PDF.

If it is not a bug, I would like to know which file (line) to edit in order to remove it.

Thanks
Eddie.

Total Posts: 2339

what is your company name?

Total Posts: 7

Well, this is interesting. I am trying different:
Webdesign@Webservice - ; appears.
Webdesign-Webservice - OK
Webdesign&W - OK
Webdesign&We; - ; appears

Funny, actally..

Same story in the “Primary Contact” field, I try Company - Firstname Lastname (so it appears like that on the emails).
Then I get Company; - Firstname Lastname.

Regards
Eddie.

Total Posts: 2339

yes, its a xss security. Tell me the name you want and I can work with you for a workaround.

Total Posts: 7

Webdesign&Webservice;

Actually, it happens in the forum as well.

The name above without the trailing ;

Eddie.

Total Posts: 2339

Enter it like this “Webdesign&Webservice” - this will allow you to keep the security on and still have your name.

Without getting into a big explanation, it is an unfortunately consequence of some filtering needed to keep the code safe. We could disable that security, but it would open up a potential ugly exploit. The same code that protects bamboo protects these forums, which is why you see it happening here as well.

Total Posts: 7

Sorry. Doesn’t work

Becomes

“Webdesign&Webservice;”

Eddie.

Total Posts: 2339

Sorry Eddie

Webdesign&Webservice

Total Posts: 7

Ahh, excellent. I should have thought of it myself. I use this always in HTML..

By the way, I might contribute to your system with Norwegian language.
How do I proceed? Just take the english language file and translate and send to you?

Regards
Eddie

Total Posts: 2339

Because there isn’t already a Norweign pack released for CodeIgniter (part of the underlying framework for Bamboo) it would be a fair chunk of work (sorry). What would need to be translated are all the files under bamboo_system_files/language/english; and also the file bamboo_lang.php that’s in bamboo_system_files/application/language/english.

If you want to contribute, I’d be more then happy to ensure the entire community (including CodeIgniter) benefited from your contribution.

Total Posts: 7

I’ll do it, please allow me a week or two.

Regards
Eddie.

Total Posts: 2339

Absolutely, thanks! Feel free to email them to me directly at info at bambooinvoice dot org.