Rook::Static should chop off query string before looking for a file

10 views
Skip to first unread message

frie...@gene.com

unread,
Apr 6, 2014, 2:09:03 AM4/6/14
to rr...@googlegroups.com
Hi,

Let's say I have a Static app serving files out of a directory with a single file called "index.html". Suppose I put it in a Rook app serving out of the "foo" URL.

Then if I have a regular URL like
 
http://127.0.0.1:30952/custom/foo/index.html

then Static does just just fine---it serves up the content.

But if I pass tags or parameters like this:

or
http://127.0.0.1:30952/custom/foo/index.html?name=maria&age=35

Then Static looks for files named "index.html#TOC-page-2" or "index.html?name=maria&age=35", none of which exist.

Am I doing something wrong? 

Thanks,

Brad
Reply all
Reply to author
Forward
0 new messages