# Routers and dot in string parameter

**URL:** <https://www.ruby-forum.com/t/routers-and-dot-in-string-parameter/162988>\
**Category:** Ruby\
**Created:** [March 16, 2009, 1:22pm UTC](https://www.ruby-forum.com/t/routers-and-dot-in-string-parameter/162988 "2009-03-16T13:22:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giga](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/b9bd4f/32.png) [@giga](https://www.ruby-forum.com/u/giga)\
**Post date:** [March 16, 2009, 1:22pm UTC](https://www.ruby-forum.com/t/routers-and-dot-in-string-parameter/162988/1 "2009-03-16T13:22:57Z")

</div>

map.page ‘:sex/:word’, :controller =\> ‘say’, :requirements =\> { : sex =\>  
/girl|boy/ }

So this works fine:

[http://mypage.com/say/boy/hello](http://mypage.com/say/boy/hello)

also this:

[http://mypage.com/say/girl/hello%20world](http://mypage.com/say/girl/hello%20world)

but this:

[http://mypage.com/say/girl/hello.world](http://mypage.com/say/girl/hello.world)

returns: Error 404 The page you were looking for doesn’t exist.

How can I fix this?
