Skip to content

Commit

Permalink
Todo
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 29, 2010
1 parent 9ff2f81 commit 16f3f90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/express/plugins/cache.js
Expand Up @@ -188,6 +188,8 @@ exports.Store.Memory = exports.Store.extend({
*/

normalize: function(pattern) {
// TODO: ensure that stuff like "page:/users/1?foo=bar" will work
// because they wont right now :)
return new RegExp('^' + pattern.replace(/[*]/g, '(.*?)') + '$')
}
})
Expand Down

0 comments on commit 16f3f90

Please sign in to comment.