{"action":"opened","issue":{"url":"https://api.github.com/repos/javalite/activeweb/issues/317","repository_url":"https://api.github.com/repos/javalite/activeweb","labels_url":"https://api.github.com/repos/javalite/activeweb/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/javalite/activeweb/issues/317/comments","events_url":"https://api.github.com/repos/javalite/activeweb/issues/317/events","html_url":"https://github.com/javalite/activeweb/issues/317","id":196286045,"number":317,"title":"StringIndexOutOfBoundsException for some URLs","user":{"login":"ipolevoy","id":500941,"avatar_url":"https://avatars.githubusercontent.com/u/500941?v=3","gravatar_id":"","url":"https://api.github.com/users/ipolevoy","html_url":"https://github.com/ipolevoy","followers_url":"https://api.github.com/users/ipolevoy/followers","following_url":"https://api.github.com/users/ipolevoy/following{/other_user}","gists_url":"https://api.github.com/users/ipolevoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ipolevoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipolevoy/subscriptions","organizations_url":"https://api.github.com/users/ipolevoy/orgs","repos_url":"https://api.github.com/users/ipolevoy/repos","events_url":"https://api.github.com/users/ipolevoy/events{/privacy}","received_events_url":"https://api.github.com/users/ipolevoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-18T16:57:50Z","updated_at":"2016-12-18T16:57:50Z","closed_at":null,"body":"Below is an exception caused by  Pingdom. \r\n\r\n\r\n\r\n```\r\nRequest URL: https://domain.com.local/\r\nContextPath:\r\nQuery String: null\r\nURI Full Path: /\r\nURI Path: /\r\nMethod: HEAD\r\n\r\njava.lang.StringIndexOutOfBoundsException: String index out of range: -16\r\n        at java.lang.String.substring(String.java:1931)\r\n        at org.javalite.activeweb.Router.matchStandard(Router.java:126)\r\n        at org.javalite.activeweb.Router.recognize(Router.java:85)\r\n        at org.javalite.activeweb.RequestDispatcher.doFilter(RequestDispatcher.java:200)\r\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\r\n        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\r\n        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\r\n        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\r\n        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)\r\n        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\r\n        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\r\n        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)\r\n        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)\r\n        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)\r\n        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n        at java.lang.Thread.run(Thread.java:745)\r\n\r\n```"}}
{"actor":{"display_login":"ipolevoy"}}