Skip to content
Browse files

extension fix

  • Loading branch information...
1 parent b35022b commit 41073cb35844c12a1649055915b3ac92d753873e syntacticx committed Feb 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/active_controller/adapters/jaxer.js
View
2 src/active_controller/adapters/jaxer.js
@@ -80,7 +80,7 @@ ActiveController.Server.Request = {
},
getExtension: function getExtension()
{
- return Jaxer.request.uri.split('.').pop();
+ return (Jaxer.request.uri.split('.').pop() || '').replace(/\?.*$/,'').replace(/\#.*$/,'');
}
};

0 comments on commit 41073cb

Please sign in to comment.
Something went wrong with that request. Please try again.