mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-18 15:50:52 +01:00
33a1392541
We were escaping the URL before performing any pattern matching on it. This meant that if you sent data that URLdecoded to a "/", it would count as a "/" in the URL, potentially causing a 404. This was causing some flaky tests with some randomly-generated query parameters. Now, we keep URLs encoded while doing the pattern matching, and only afterwards do we URL decode each query parameter individually before passing them to their respective handler functions. github.com/gorilla/mux was also updated to v1.7.3 to fix a bug with URL encoding and subrouters.
65 lines
3.2 KiB
Modula-2
65 lines
3.2 KiB
Modula-2
module github.com/matrix-org/dendrite
|
|
|
|
require (
|
|
github.com/Shopify/sarama v0.0.0-20170127151855-574d3147eee3
|
|
github.com/alecthomas/gometalinter v2.0.2+incompatible
|
|
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
|
|
github.com/apache/thrift v0.0.0-20161221203622-b2a4d4ae21c7
|
|
github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a
|
|
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd
|
|
github.com/crossdock/crossdock-go v0.0.0-20160816171116-049aabb0122b
|
|
github.com/davecgh/go-spew v1.1.1
|
|
github.com/eapache/go-resiliency v0.0.0-20160104191539-b86b1ec0dd42
|
|
github.com/eapache/go-xerial-snappy v0.0.0-20160609142408-bb955e01b934
|
|
github.com/eapache/queue v1.1.0
|
|
github.com/golang/protobuf v0.0.0-20161117033126-8ee79997227b
|
|
github.com/golang/snappy v0.0.0-20170119014723-7db9049039a0
|
|
github.com/google/shlex v0.0.0-20150127133951-6f45313302b9
|
|
github.com/gorilla/context v1.1.1
|
|
github.com/gorilla/mux v1.7.3
|
|
github.com/jaegertracing/jaeger-client-go v0.0.0-20170921145708-3ad49a1d839b
|
|
github.com/jaegertracing/jaeger-lib v0.0.0-20170920222118-21a3da6d66fe
|
|
github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6
|
|
github.com/lib/pq v0.0.0-20170918175043-23da1db4f16d
|
|
github.com/matrix-org/dugong v0.0.0-20171220115018-ea0a4690a0d5
|
|
github.com/matrix-org/gomatrix v0.0.0-20190130130140-385f072fe9af
|
|
github.com/matrix-org/gomatrixserverlib v0.0.0-20190619132215-178ed5e3b8e2
|
|
github.com/matrix-org/naffka v0.0.0-20171115094957-662bfd0841d0
|
|
github.com/matrix-org/util v0.0.0-20171127121716-2e2df66af2f5
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1
|
|
github.com/nfnt/resize v0.0.0-20160724205520-891127d8d1b5
|
|
github.com/nicksnyder/go-i18n v1.8.1
|
|
github.com/opentracing/opentracing-go v0.0.0-20170806192116-8ebe5d4e236e
|
|
github.com/pelletier/go-toml v0.0.0-20170904195809-1d6b12b7cb29
|
|
github.com/pierrec/lz4 v0.0.0-20161206202305-5c9560bfa9ac
|
|
github.com/pierrec/xxHash v0.0.0-20160112165351-5a004441f897
|
|
github.com/pkg/errors v0.0.0-20170505043639-c605e284fe17
|
|
github.com/pmezard/go-difflib v1.0.0
|
|
github.com/prometheus/client_golang v0.0.0-20180519192340-c51dc758d4bb
|
|
github.com/prometheus/client_model v0.0.0-20150212101744-fa8ad6fec335
|
|
github.com/prometheus/common v0.0.0-20170108231212-dd2f054febf4
|
|
github.com/prometheus/procfs v0.0.0-20170128160123-1878d9fbb537
|
|
github.com/rcrowley/go-metrics v0.0.0-20161128210544-1f30fe9094a5
|
|
github.com/sirupsen/logrus v1.3.0
|
|
github.com/stretchr/testify v1.2.2
|
|
github.com/tidwall/gjson v1.1.5
|
|
github.com/tidwall/match v1.0.1
|
|
github.com/tidwall/sjson v1.0.3
|
|
github.com/uber-go/atomic v1.3.0
|
|
github.com/uber/jaeger-client-go v2.15.0+incompatible
|
|
github.com/uber/jaeger-lib v1.5.0
|
|
github.com/uber/tchannel-go v0.0.0-20170927010734-b3e26487e291
|
|
go.uber.org/atomic v1.3.0
|
|
go.uber.org/multierr v0.0.0-20170829224307-fb7d312c2c04
|
|
go.uber.org/zap v1.7.1
|
|
golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613
|
|
golang.org/x/net v0.0.0-20190301231341-16b79f2e4e95
|
|
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33
|
|
gopkg.in/Shopify/sarama.v1 v1.11.0
|
|
gopkg.in/airbrake/gobrake.v2 v2.0.9
|
|
gopkg.in/alecthomas/kingpin.v3-unstable v3.0.0-20170727041045-23bcc3c4eae3
|
|
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
|
|
gopkg.in/h2non/bimg.v1 v1.0.18
|
|
gopkg.in/macaroon.v2 v2.1.0
|
|
gopkg.in/yaml.v2 v2.2.2
|
|
)
|