phalcon-orphanage / docs

Phalcon Framework documentation
https://docs.phalcon.io
Other
321 stars 486 forks source link

Action Regex Mismatch with Docs #1009

Closed sergeyklay closed 7 years ago

sergeyklay commented 7 years ago

From @aleemb on November 24, 2014 12:19

Somewhere along the line, the regex for :action was updated from:

// http://docs.phalconphp.com/en/latest/reference/routing.html
/([a-zA-Z0-9_]+)

to

// https://github.com/phalcon/cphalcon/blob/master/ext/mvc/router/route.c#L274
/([a-zA-Z0-9_-]+)

I remember this wasn't always the case, but at some point the code was updated but the document didn't reflect the new changes.

Copied from original issue: phalcon/cphalcon#3074

niden commented 7 years ago

Fixed : 82ffd6ebdc72e795f032b2c3fab4643d60a28c09