Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 5, 2013
  1. @tj

    Release 3.0.6

    tj authored
  2. @tj

    update connect

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

    Merge pull request #1458 from gmethvin/cookie_options

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

    Don't mangle the options object in res.cookie

    gmethvin authored
    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 authored
    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 authored
    add http verbs methods to Router
  2. @rauchg @tj

    fix jsonp whitespace escape. Closes #1132

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

    add http verbs methods to Router

    defunctzombie authored
    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 authored
  2. @tj

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

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

    Explicitly remove Transfer-Encoding header from 204 and 304 responses

    aweeks authored
    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. @thlorenz @tj

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

    thlorenz authored tj committed
Commits on Dec 6, 2012
  1. @tj

    Revert "add 'etag' option"

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

    Release 3.0.4

    tj authored
  3. @kavu @tj

    add 'etag' option

    kavu authored tj committed
  4. @tj

    update connect

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

    merge

    tj authored
  2. @tj

    Merge pull request #1426 from piscis/master

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

    Merge pull request #1425 from gmethvin/encode_text_redirect

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

    Escape URLs in text/plain res.redirect response

    gmethvin authored
    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 authored
  2. @tj

    update connect

    tj authored
  3. @tj

    update cookie module

    tj authored
  4. @tj

    fix cookie max-age

    tj authored
    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 authored
  2. @tj
  3. @tj

    Merge pull request #1406 from DmitryBochkarev/patch-1

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

    Merge pull request #1408 from Laboratory/master

    tj authored
    delete unused variables
  5. @tj

    Release 3.0.2

    tj authored
  6. @tj

    fix .version

    tj authored
  7. @Laboratory

    delete unused variables

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