Crashes out when requesting the file. Can not change or delete the \ in the input screen
Issue #2
resolved
Query string: buildKey=IPIPE-VBMST1259-SIM&buildNumber=1&path=\/Build
Stack Trace:
java.lang.IllegalArgumentException: Dangerous string detected: //build/generateAgentBrowser.action?buildKey=IPIPE-VBMST1259-SIM&buildNumber=1&path=\/Build
Comments (8)
-
repo owner -
repo owner - changed status to resolved
Fixed path checking mechanism on windows agents
-
reporter Installed the latest 2.8.8 build but still similar problems
Version: 5.12.1 Build: 51211 Build Date: 25 May 2016 Request information: Request URL: http://einzXXXX:8085/500.action Scheme: http Server: einzXXXX Port: 8085 URI: /500.action Context path: Servlet path: /500.action Path info: Query string: buildKey=IPIPE-VBMST1249-SIM&buildNumber=10&path=\/Baseline.txt Stack Trace: java.lang.IllegalArgumentException: Dangerous string detected: //build/generateAgentBrowser.action?buildKey=IPIPE-VBMST1249-SIM&buildNumber=10&path=\/Baseline.txt
-
reporter - changed status to open
No improvement after update to 2.8.8
-
repo owner Hi Mark,
is your server on windows or only the agent ?
Julius
-
reporter Bamboo Windows server with Windows Agents. Although we have one Linux Agent (I didn't test that one)
-
repo owner Julius
I think I know what is the issue, unsafe URLs are being caused by special characters like "\".
I will try to use "/" also on windows to avoid this issue.
Julius
-
repo owner - changed status to resolved
Swapped all system dependent file path separators to /
- Log in to comment
Hi Mark,
I will have a look on it. I remember I have some logic there in order to prevent user from going out of the build folder and looking randomly on the agent harddrive.
Julius