lxe
288176bbc9
Added safe encodeURIcomponent to eliminate errors on malformed captures.
2013-09-16 14:57:31 -04:00
Eric Willis
9e406dfee2
Updated Util.isAbsolute(path) to return true for Azure absolute paths
...
- Azure absolute paths look like \\ip_address\volume\guid\guid\site\wwwroot\...file.js.
Changed Util.isAbsolute to return true for paths that start with two backslashes.
2013-08-31 16:16:49 -07:00
TJ Holowaychuk
f8a33d137a
refactor
2013-04-13 09:16:15 -07:00
TJ Holowaychuk
2db135dfc7
Merge pull request #1566 from daguej/v8-context-fix
...
Possible fix for #1557
2013-04-13 09:14:41 -07:00
silentjohnny
88273a59f8
Added originalIndex to parseQuality to correctly sort long lists (v8 does unstable quicksort for length > 10)
2013-04-13 12:36:35 +02:00
TJ Holowaychuk
53b8e25731
ocd
2013-04-11 08:36:52 -07:00
Pavel Brylov
9e684d45bc
add support for custom Accept parameters
2013-04-11 08:34:10 -07:00
TJ Holowaychuk
b7afa4f0f4
Merge pull request #1523 from thomseddon/fix-whitespace
...
Remove some superfluous trailing whitespace
2013-04-01 11:14:07 -07:00
Josh Dague
57e48c4767
Possible fix for #1557 , allows routes to be created using literal regexes across V8 contexts. Removes all uses of instanceof.
2013-04-01 14:03:32 -04:00
Nadav Ivgi
1e251af8d3
Removed old references to viewCallbacks
...
Was part of the deprecated locals.use() functionallity
2013-03-07 00:12:50 +02:00
Thom Seddon
eed0f598a0
Remove some superfluous trailing whitespace
2013-03-01 07:47:30 +00:00
Alexander Pirsig
18a3cc03ee
use buffer-crc32 module for ETag CRC generator
2012-11-21 12:44:07 +01:00
TJ Holowaychuk
cdb3e9dc0d
fix etag quoting. Closes #1310
2012-08-30 08:49:48 -07:00
TJ Holowaychuk
f2f09767fb
add etag util
2012-08-30 08:27:57 -07:00
TJ Holowaychuk
4f7c4d1051
remove app.locals.use and res.locals.use
...
there are a few reasons for this:
a) less API, simpler implementation ...
b) difficult to inherit cleanly from subapps
c) effectively the same as parallelized middleware (use connect-parallel for example)
lastly this api in a sense promotes some obscure uses since
they may be scattered throughout rather than explicitly
given to specific routes or used globally as middleware etc
2012-07-05 18:46:19 -07:00
riadh
3827f5ef8b
tests for issues 1115 fix for utils
2012-07-03 13:56:21 -07:00
riadh
73bed61afa
* immediately after :param would become not greedy
2012-07-03 13:56:21 -07:00
TJ Holowaychuk
140efb574c
Revert "Added + support to the router"
...
This reverts commit 6aaa7dc26d .
2012-06-22 08:20:23 -07:00
TJ Holowaychuk
895673141d
Fixed: expose connects mime module. Cloases #1165
2012-06-08 09:47:13 -07:00
TJ Holowaychuk
6aaa7dc26d
Added + support to the router
2012-06-06 14:38:22 -07:00
TJ Holowaychuk
d9aea70ccc
removed file heading comments
2012-05-03 08:43:42 -07:00
TJ Holowaychuk
dd33ef2eb6
Added res.locals.use(). Closes #1120
2012-05-03 08:42:18 -07:00
TJ Holowaychuk
53f1ffb4e7
ocd
2012-04-30 14:51:04 -07:00
TJ Holowaychuk
a376980a69
update headers
2012-04-25 21:49:43 -07:00
TJ Holowaychuk
9abba7d69a
ocd
2012-04-02 15:07:41 -07:00
TJ Holowaychuk
0377540e2d
utils: added pathRegexp()
2012-04-02 15:07:25 -07:00
TJ Holowaychuk
d6d16b7899
Added req.accepts() comma-delimited string support
2012-03-24 11:36:52 -07:00
TJ Holowaychuk
86a9e0803a
refactored utils.accepts()
2012-03-24 11:32:28 -07:00
TJ Holowaychuk
298899d02c
Added array support. Closes #1053
2012-03-23 17:58:41 -07:00
TJ Holowaychuk
b565e258cb
Added res.respondTo(obj)
2012-02-18 17:13:40 -08:00
Tj Holowaychuk
28f32b9b8e
Removed req.notify()
2011-11-24 15:12:25 -08:00
TJ Holowaychuk
e44c874cab
Fixed parseQuality(), exclude q=0
2011-11-20 12:54:48 -08:00
TJ Holowaychuk
36be2b0688
Added utils.accepts(type, str)
2011-11-20 12:41:12 -08:00
TJ Holowaychuk
a8fd8cb645
Added req.accepted
2011-11-19 22:08:26 -08:00
TJ Holowaychuk
285500488d
Added parseAccepts() util
2011-11-19 21:47:22 -08:00
TJ Holowaychuk
29d4ffd089
renamed prev util to parseQuality()
2011-11-19 21:43:48 -08:00
TJ Holowaychuk
fe5efa597b
Added utils.parseAccepts(str)
2011-11-19 21:40:12 -08:00
Tj Holowaychuk
7a7d77e7bd
Removed toArray() util
2011-11-11 14:30:27 -08:00
Tj Holowaychuk
e1da383aed
new View
2011-10-07 14:51:06 -07:00
Tj Holowaychuk
fed7fa4cd2
removed old parseRange util
2011-10-07 13:56:14 -07:00
Tj Holowaychuk
0d0125fc29
removed union util
2011-10-07 13:50:59 -07:00
Tj Holowaychuk
c21e3feaa6
Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
2011-08-29 08:40:42 -07:00
Tj Holowaychuk
80e9ffbf5d
Refactored router. Closes #639
2011-05-23 13:48:31 -07:00
Tj Holowaychuk
b6aca36ad9
htmlEscape -> escape
2011-04-25 10:11:38 -07:00
Tj Holowaychuk
8420ae93fd
removed old path utils
2011-04-25 10:10:43 -07:00
Tj Holowaychuk
6722716fa7
Moved router over from connect
2011-04-25 10:08:54 -07:00
Tj Holowaychuk
1fc520b45a
Fixed partial() issue where the parent locals clobber those given directly
2011-03-03 12:44:37 -08:00
Tj Holowaychuk
42d2758c36
Added union() util, taking place of merge(clone()) combo
2011-03-02 13:41:36 -08:00
Tj Holowaychuk
3d597a554d
moved files from lib/express/* to lib/
2011-02-03 20:20:42 -08:00