Commit Graph

6 Commits

Author SHA1 Message Date
Brad Fitzpatrick 383f118ccf pkg/server: validate that share hops are only in expected places in schema blobs
Fixes camlistore/camlistore#228
2015-12-28 13:56:47 -08:00
Aaron Boodman 51ef6152fd Add -search argument to camput share.
Bug: https://code.google.com/p/camlistore/issues/detail?id=512

Change-Id: Ic0dd559c98589107fcdeade8784699cf6b2f1761
2014-09-06 18:50:21 -07:00
Aaron Boodman 698f3d0eea Add CORS header to share handler.
Change-Id: Ia12ea1f3de334e6f5b4d29c2a24291d263cc8068
2014-08-31 23:46:37 -07:00
tnt 5d8eeb534b Fixed wrong calls to formatting functions.
E.g: fmt.Println("%s", "hello world") -> fmt.Printf("%s", "hello world")

Change-Id: I51c0bd54c14173e074fafd86c83a5287fcdb1520
2014-06-30 22:05:22 +02:00
Aaron Boodman d875fcad30 Clean up testing in share_test.go
Change-Id: I481d440636590086f11d8e97d0eb6fcf31f4a097
2013-09-24 11:49:17 -07:00
Aaron Boodman 43135068a5 Check IsTransitive in share handler and add tests.
Also fix a bug in interpretation of via chain, which caused sharing
to be overly permissive.

BUG=https://code.google.com/p/camlistore/issues/detail?id=226

Change-Id: I4459a67d1b40e4a50f111ce708dbfcbd975f3f15
2013-09-21 13:16:01 +01:00