Hi,
We set the full output path for pdf report via API:
m_pPrinter->Option[L"Save.File"] = fullpath;
Our testers observed that whenever the path contains a single "%" the character is simply removed from path/name. I know "%" has to do with macros, but I was sure it will properly recognize "%[...]" pattern, it seems it always uses "%" as a special character though. I did some further testing and could notice, that if we use double "%%" it's converted to single "%". Could you please confirm it? Is it enough to simply replace every "%" with double "%%" in a path before passing it to the option Save.File for it to work correctly? I couldn't find it in your documentation somehow.
Regards,
Maciej
Skipping "%" in file name
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
- Ivan - Tracker Software
- Site Admin
- Posts: 3550
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: Skipping "%" in file name
The issue is fixed in build 196 which should be available on Thursday or Friday. Thanks for the report.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 23
- Joined: Mon Feb 09, 2009 8:52 am
Re: Skipping "%" in file name
Thank you!
- Tracker Supp-Stefan
- Site Admin
- Posts: 17948
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact: