# Bug ? parameter pattern matching

**URL:** <https://discourse.slimframework.com/t/bug-parameter-pattern-matching/3505>\
**Category:** Questions\
**Created:** [October 6, 2019, 7:28am UTC](https://discourse.slimframework.com/t/bug-parameter-pattern-matching/3505 "2019-10-06T07:28:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aghezzi](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@aghezzi](https://discourse.slimframework.com/u/aghezzi)\
**Post date:** [October 6, 2019, 7:28am UTC](https://discourse.slimframework.com/t/bug-parameter-pattern-matching/3505/1 "2019-10-06T07:28:26Z")

</div>

any parameter that contain ‘.’ dot give 404

you can replicate it with skeleton project  
[http://localhost:8080/mymail%40mail.com](http://localhost:8080/mymail%40mail.com)

---

<div class="post-metadata">

**Author:** ![pedropereira](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/pedropereira/32/982_2.png) [@pedropereira](https://discourse.slimframework.com/u/pedropereira)\
**Post date:** [October 6, 2019, 10:55am UTC](https://discourse.slimframework.com/t/bug-parameter-pattern-matching/3505/2 "2019-10-06T10:55:37Z")

</div>

(don’t see your skeleton)

Are you using the php bultin server?

There is a known bug (or not a bug at all, just an implementation choice by the php team) where the builtin server identifies dots as part of a static file names. So it tries to serve a file that does not exist, giving a 404 not found. It does that before trying to reach your Slim script.

---

<div class="post-metadata">

**Author:** ![pedropereira](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/pedropereira/32/982_2.png) [@pedropereira](https://discourse.slimframework.com/u/pedropereira)\
**Post date:** [October 6, 2019, 11:03am UTC](https://discourse.slimframework.com/t/bug-parameter-pattern-matching/3505/3 "2019-10-06T11:03:10Z")

</div>

You were talking about the Slim default skeleton… my bad, sorry.

It is that problem I wrote before.  
It is a php bultin server “bug”, not slim.

The best way to test a slim app is to test with the server you’ll be using in production (assuming you won’t use this one).
