Skip to content

Conversation

@onlywei
Copy link

@onlywei onlywei commented Jan 13, 2013

If you send the following request to a WebLogic server using this combo service:

combo?../a.js

You will get a NullPointerException because ServletContext.getRealPath() is going to produce null and print out a stack trace to the browser.

I added a null check to avoid this, but combo service with "../" in the requests are still not going to load actual javascript or css resources in WebLogic.

…ll produce null with requests that contain '../'. These result in NullPointerExceptions that print stack traces out to the browser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant