wocommunity / wonder

Project Wonder
http://wiki.wocommunity.org/
239 stars 166 forks source link

Fix issue 999 #1000

Closed xplants closed 1 year ago

xplants commented 1 year ago

When a static resources, from a jar, is accessed in an environment with a custom adaptorUrl that do not start with "/cgi-bin" the wodata parameter from request is ignored and the resource is not served.

sal-bock commented 1 year ago

I think you uri variable should be evaluated against request.applicationURLPrefix(). In fact, this method is used in WOResourceManager. urlForResourceNamed to generate the url. The static resources will be loaded from the jar, even if there is a proxy server is part of the game.