https://bz.apache.org/bugzilla/show_bug.cgi?id=60802

--- Comment #3 from Joakim Erdfelt <joak...@apache.org> ---
Glassfish, Resin, and Jetty implement it according to the javadoc.

It's always relative to the MultiPartConfig.location

Glassfish calls that location 'repository' see PartItem.java

Jetty calls that location `_tmpDir` see MultiPartInputStreamParser.MultiPart

Resin calls that location `location` see HttpServletRequestImpl.PartImpl

Undertow implements it according to your interpretation (they seem to have
followed your lead).

The official servlet spec 3.1 final pdf also makes no statement on the behavior
of that method.  Only that the MultiPartConfig.location must have a value, and
it goes through the default value and how to interpret the setting that the
user has provided.

I have no access to the Servlet TCK to confirm the behavior in there.
But seeing as Glassfish interprets it the same way as the javadoc, I would
probably guess that the odds on the Glassfish/Resin/Jetty interpretation is the
correct way.

Perhaps this needs a SERVLET_SPEC jira issue opened on it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to