A code injection test URL is useful only when the request actually reaches your WAF. If a test returns your normal application page, first check the traffic path before concluding that detection failed.
This troubleshooting guide addresses one concrete misconfiguration: the application's domain still resolves directly to the origin server instead of the SafeLine server. The confirmation comes from two documented screens: the blocking page in the browser and the matching attack entry in the SafeLine console.
Understand the configuration mistake
SafeLine operates as an HTTP/HTTPS reverse proxy. It receives requests for an application, filters malicious traffic, and forwards safe traffic to the upstream application. Its application setup instructions explicitly require resolving the configured domain to the IP address of the server running SafeLine. Official application configuration guide
Consider a staging application whose domain still points to its original server after you add it to SafeLine. The application remains reachable, but requests using that domain bypass the new proxy. Adding an application in the console alone does not establish that the browser is sending traffic through it.
The diagnostic question is therefore specific: does the domain used in your test resolve to the intended SafeLine server?
Establish a controlled baseline
Use an application you own or are authorized to test, preferably in staging. Record the test time, hostname, scheme, and requested path so you can identify the request afterward. Use a harmless application route; you do not need an endpoint that executes supplied code.
First, request the normal page without the test query. Record its behavior. Then inspect the domain's DNS resolution and compare the returned address with the intended SafeLine server address. Account for any existing proxy or load balancer when evaluating your actual request path.
If the domain points directly to the origin in the simple deployment described here, you have found the misconfiguration. A normal response to the injection query cannot establish anything about SafeLine's detection when the request never reaches SafeLine.
Correct the application path
In the SafeLine Web Admin Console, open Applications and inspect the application's configuration. The official guide defines these fields:
- Domain: the application's domain, hostname, or IP address.
- Port: the port SafeLine listens on, such as 80 or 443; select the SSL option for HTTPS applications.
- Upstream: the real application address to which SafeLine forwards traffic.
For this scenario, keep the upstream pointing to the intended origin and correct the domain's DNS destination to the SafeLine server. These field meanings and the DNS requirement are documented in the application configuration guide.
Check resolution again before retesting. A client still using an older DNS answer can make a corrected configuration appear unchanged.
Repeat the documented code injection test
The official guide supplies this code injection example:
https://chaitin.com/?id=phpinfo();system('id')
Replace the example hostname with your own authorized test application's domain. Do not send the request to the documentation's example host. The payload and hostname replacement instruction come directly from the official test examples.
Keep the hostname, scheme, and query consistent between your before-and-after checks. Changing several variables at once makes the result harder to interpret.
The guide identifies a displayed blocking page as confirmation that SafeLine defended against the test request. It also instructs users to check the attack list in the web console and click detail to inspect the attack. Official blocking verification instructions
Your evidence should therefore include the browser's blocking page and the corresponding attack entry. Compare the available request details with your recorded test. Avoid treating an unrelated attack entry or a generic connection error as confirmation.
Why did the test initially return the normal application page?
In this scenario, DNS still directed the browser to the origin. The request bypassed SafeLine. Confirm the destination before changing protection settings or trying additional payloads.
Which screen confirms that the fix worked?
The documented browser blocking page confirms the test was blocked. The console's attack list and detail view provide supporting evidence for the corresponding request. Use both when documenting the result.
Does this URL prove that the application can execute injected code?
No. This checks how the WAF handles a particular request. It does not establish whether the application has an exploitable code execution vulnerability, and it does not require executing the query on the server.
Does one successful block validate every attack path?
No. It establishes a result for the tested hostname, route, and request. Preserve that evidence, then separately assess other application entry points and whether they follow the intended protected path.
SafeLine has surpassed 700,000 installations worldwide as of September 30, 2026. SafeLine Pro annual promotional pricing is $650-$880, compared with the regular $1,000 per year.