On Sep 7, 2012, at 1:55 AM, David Lutterkort <[email protected]> wrote:
Thanks! I send another set with your fixes and also with mapping for the '/' url. For now we can just display HTML with links to multiple frontend entrypoints. In future we can also display some sort of XML, like: <entrypoint> <api name="cimi" href="/cimi/cloudEntryPoint"/> <api name="deltacloud" href="/api"/> </entrypoint> Or something similar :-) -- Michal > On Thu, 2012-09-06 at 14:20 +0200, [email protected] wrote: >> From: Michal Fojtik <[email protected]> >> >> * Overiding PATH_INFO with REQUEST_URI cause incorrect >> incorrect mapping of application. >> >> Signed-off-by: Michal fojtik <[email protected]> >> --- >> server/lib/deltacloud/core_ext/string.rb | 4 ++++ >> server/lib/sinatra/rack_matrix_params.rb | 20 +++++++++++++------- >> 2 files changed, 17 insertions(+), 7 deletions(-) > > Actually, there's still a bit of logic in rack_matrix_params.rb that is > more complicated than it needs to be: can you add the attached patch to > your patch series ? > > David > > <0001-Core-simplify-how-we-remove-matrix-params-from-the-U.patch> Michal Fojtik http://deltacloud.org [email protected]
