-
Notifications
You must be signed in to change notification settings - Fork 56
invalid characters are added after replace token task #99
Comments
Hi @ramkark, Could you share the detailed logs of the task? (use the new |
2019-03-14T20:52:52.1727722Z ##[section]Starting: Replace tokens in Web.ENV.config for WebSite |
Hi @ramkark, |
Hey, we're getting the same issue. Here's a snippet of a bundled js file with react-bootstrap getting the pagination.js characters replaced:
After:
So if you want to do some testing, you could use the react-bootstrap npm package, it has pagination.js which is causing us the most relevant issues. Here's our verbose logs:
So actually, it looks like it defaults to ascii which is exactly why we're having issues. my vote would be for And after changing my encoding from |
Hi @mikeruhl, |
@mikeruhl do you have an account i could share a dev version of the task to test the new encoding detection? (this task can be installed side by side with the public one) |
@qetza can you email me at [email protected] and I will share my work email with you? I would like to associate it with that since I use that far more but do not want to publicly share it, I get enough spam ;) Thanks for the quick turnaround. |
The new version 3.2.0 is now published and uses jschardet for detecting encoding which should fix your issues. |
section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuratiÿÿÿÿÿÿon.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data" requirePermission="true"
ÿÿÿÿÿÿ characters are added in the above string when i try to use the Replace token task in VSTS.
in my Web.config, the below lines are getting affected after the task.
"
"
The text was updated successfully, but these errors were encountered: