GUIServerController eats up the entire URL space and sometimes causes
problems. See the following thread in ryu-devel for example:

https://sourceforge.net/p/ryu/mailman/message/36312411/

Signed-off-by: IWAMOTO Toshihiro <iwam...@valinux.co.jp>
---
 ryu/app/gui_topology/gui_topology.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ryu/app/gui_topology/gui_topology.py 
b/ryu/app/gui_topology/gui_topology.py
index ed4857a5..cbac4d8f 100644
--- a/ryu/app/gui_topology/gui_topology.py
+++ b/ryu/app/gui_topology/gui_topology.py
@@ -56,7 +56,7 @@ class GUIServerController(ControllerBase):
         path = "%s/html/" % PATH
         self.static_app = DirectoryApp(path)
 
-    @route('topology', '/{filename:.*}')
+    @route('topology', '/{filename:[^/]*}')
     def static_handler(self, req, **kwargs):
         if kwargs['filename']:
             req.path_info = kwargs['filename']
-- 
2.11.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to