Skip to content
Commits on Jan 5, 2013
  1. @tj

    Release 3.0.6

    tj committed
  2. @tj

    update connect

    tj committed
Commits on Jan 3, 2013
  1. @tj

    Merge pull request #1458 from gmethvin/cookie_options

    tj committed
    Don't mangle the options object in res.cookie
  2. @gmethvin

    Don't mangle the options object in res.cookie

    gmethvin committed
    Make a copy of the cookie options before mutating it to pass to
    cookie.serialize. This prevents unexpected things from happening when
    we try to use the same options object multiple times.
    
    Also add a test to verify that the options object does not change
    after a request is made.
Commits on Dec 29, 2012
  1. @tj

    change router callback check error message

    tj committed
    to read:
    
    Error: .get() requires callback functions but got a [object String]
Commits on Dec 28, 2012
  1. @tj

    Merge pull request #1454 from shtylman/router-http-methods

    tj committed
    add http verbs methods to Router
  2. @rauchg @tj

    fix jsonp whitespace escape. Closes #1132

    rauchg committed with tj
Commits on Dec 25, 2012
  1. @defunctzombie

    add http verbs methods to Router

    defunctzombie committed
    By having the method verbs available on the router, users can set up
    disjoint routers and organized paths easier.
    
    It is now possible to have a .js file export the router.middleware and
    attach these paths using an `app.use('/path', middleware)` call. This
    means that any routes written in the separate file do not need to have a
    full path hardcoded as they can be mounted by the application anywhere.
    
    This is already possible using `router.route(verb, args)` however is
    needlessly verbose without this patch.
Commits on Dec 19, 2012
  1. @tj

    Release 3.0.5

    tj committed
  2. @tj

    Merge pull request #1451 from aweeks/fix-304-must-not-contain-body

    tj committed
    Explicitly remove Transfer-Encoding header from 204 and 304 responses
  3. @aweeks

    Explicitly remove Transfer-Encoding header from 204 and 304 responses

    aweeks committed
    Per RFC 2616 §10.3.6 & §10.2.5 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) "The [204/304] response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields."
Commits on Dec 14, 2012
  1. @tj

    add throwing when a non-function is passed to a route

    Thorsten Lorenz committed with tj
Commits on Dec 6, 2012
  1. @tj

    Revert "add 'etag' option"

    tj committed
    This reverts commit 6f6eec7.
  2. @tj

    Release 3.0.4

    tj committed
  3. @kavu @tj

    add 'etag' option

    kavu committed with tj
  4. @tj

    update connect

    tj committed
Commits on Nov 21, 2012
  1. @tj

    merge

    tj committed
  2. @tj

    Merge pull request #1426 from piscis/master

    tj committed
    change crc generator because of license issue
  3. @tj
  4. @tj

    Merge pull request #1425 from gmethvin/encode_text_redirect

    tj committed
    Escape URLs in text/plain res.redirect response
  5. @piscis
  6. @gmethvin

    Escape URLs in text/plain res.redirect response

    gmethvin committed
    Escape the URL printed by res.redirect using URL encoding. This
    prevents some browsers (primarily old versions of IE) from attempting
    to sniff the Content-Type and evaluate it as HTML, which causes a
    cross-site scripting vulnerability.
Commits on Nov 20, 2012
  1. @tj
Commits on Nov 13, 2012
  1. @tj

    Release 3.0.3

    tj committed
  2. @tj

    update connect

    tj committed
  3. @tj

    update cookie module

    tj committed
  4. @tj

    fix cookie max-age

    tj committed
    the cookie module we depend on never used to
    set this value, however now it does :)
Commits on Nov 8, 2012
  1. @tj

    Update examples/cors/index.js

    tj committed
  2. @tj
  3. @tj

    Merge pull request #1406 from DmitryBochkarev/patch-1

    tj committed
    remove connect.static.send import from response.js
  4. @tj

    Merge pull request #1408 from Laboratory/master

    tj committed
    delete unused variables
  5. @tj

    Release 3.0.2

    tj committed
  6. @tj

    fix .version

    tj committed
  7. @Laboratory

    delete unused variables

    Laboratory committed
  8. @DmitryBochkarev
Something went wrong with that request. Please try again.