Title: Message Title
Eric V. Bahmer commented on PUP-7865
Re: error 500 on server file metadata with space in name
2017-08-19 10:12:11,717 WARN [qtp1330508248-60] [o.e.j.s.HttpChannel] /puppet/v3/file_metadata/products/product_puppetserver/common/etc/puppetlabs/code/hieradata/osfamily/windows/2008%20R2.yaml javax.servlet.ServletException: java.net.URISyntaxException: Illegal character in path at index 122: file:puppet/v3/file_metadata/products/product_puppetserver/common/etc/puppetlabs/code/hieradata/osfamily/windows/2008 R2.yaml at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:521) at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56) at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:169) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:564) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:278) at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:148) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128) at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.URISyntaxException: Illegal character in path at index 122: file:puppet/v3/file_metadata/products/product_puppetserver/common/etc/puppetlabs/code/hieradata/osfamily/windows/2008 R2.yaml at java.net.URI$Parser.fail(URI.java:2848) at java.net.URI$Parser.checkChars(URI.java:3021) at java.net.URI$Parser.parseHierarchical(URI.java:3105) at java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.(URI.java:588) at bidi.bidi$just_path.invokeStatic(bidi.cljc:191) at bidi.bidi$just_path.invoke(bidi.cljc:187) at clojure.core$update.invokeStatic(core.clj:5960) at clojure.core$update.invoke(core.clj:5952) at bidi.bidi$match_pair.invokeStatic(bidi.cljc:200) at bidi.bidi$match_pair.invoke(bidi.cljc:195) at bidi.bidi$match_route_STAR_.invokeStatic(bidi.cljc:382) at bidi.bidi$match_route_STAR_.invoke(bidi.cljc:380) at bidi.bidi$match_route.invokeStatic(bidi.cljc:389) at bidi.bidi$match_route.doInvoke(bidi.cljc:385) at clojure.lang.RestFn.applyTo(RestFn.java:142) at clojure.core$apply.invokeStatic(core.clj:650) at clojure.core$apply.invoke(core.clj:641) at puppetlabs.comidi$eval23402$wrap_with_route_metadata_23407$fn23408$fn_23410.invoke(comidi.clj:334) at puppetlabs.trapperkeeper.services.webserver.jetty9_core$ring_handler$fn__32969.invoke(jetty9_core.clj:422) at puppetlabs.trapperkeeper.services.webserver.jetty9_core.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source) at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java