Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upURLs in requests with spaces produce Exception in applicationinsights-agent-3.0.0-PREVIEW.5 #1290
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
I expect that telemetry for requests with spaces in the URL will be handled well.
Actual behavior
I see and ERROR in the agent's logs:
Illegal character in query at index 64: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=appId eq '<UUID>'. And I don't see the request in Azure Search dashboard.To Reproduce
Steps to reproduce the behavior:
0. Setup logging output of the agent to the file like so:
java -javaagent:path/to/applicationinsights-agent-3.0.0-PREVIEW.5 -jar app.jarcommand.tail -f /var/log/applicationinsights/applicationinsights.logSystem information
Please provide the following information:
applicationinsights-agent-3.0.0-PREVIEW.5macOS Catalina 10.15.5 (19F101)org.apache.tomcat.emded:tomcat-embed-core:9.0.362.3.1-RELEASELogs