Hello,
I have several jobs that build or save out files to Azure storage and then I provide a URL to the file so that staff can download the file or access the file for use. What I have noticed is that logging a URL to the console output adds a semicolon after the first parameter, which then changes the URL and it is no longer clickable or copy and paste-able in a browser window to open or download the file.
For example the URL:
https://staffprod.blob.core.windows.net/files/TransactionList_2024.03.20.csv?sv=2017-04-17&sr=b&sig=y9BmYnTdAmPrCRdqxst&sp=r
Would be output:
https://staffprod.blob.core.windows.net/files/TransactionList_2024.03.20.csv?sv=2017-04-17&;sr=b&sig=y9BmYnTdAmPrCRdqxst&sp=r
There is a semicolon added after the first parameter sv and its separation character & and before the next parameter sr.
Has anyone experienced this or know how to stop this from having. I am just writing the string in a message using the PerformContext object’s WriteLine( ) method provided by Hangfire.
Thanks.