Zixuan James Li  
		
	
	7dbd98d25c 
	
	
	rest: Restrict access to json views via basic auth.  
		
			... 
			Previously, test cases or clients accessing /json/ views using HTTP
Basic Auth would be accepted, while we intended to only allow clients
authenticated with a session cookie to access these views.
This adds a check on the accessed path to avoid this possibility.
It seems unlikely that any API clients clients were taking advantage
of this unintended quirk; so we're not going to bother documenting
this bug fix as an API change. In any case, it should be trivial for
anyone affected to consult the documentation and then switch their
/json/foo URL to a correct /api/v1/foo URL.
Signed-off-by: Zixuan James Li <p359101898@gmail.com > 
		
	 
 
		2022-11-04 14:44:07 -07:00 
	 
	
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2022-10-26 12:28:29 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-27 12:57:49 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-10 08:40:28 -07:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-05-03 10:10:06 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-08-25 12:13:03 -07:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-04-14 17:14:34 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-11-01 08:20:47 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-05 16:15:56 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-12 22:25:48 -07:00 
		 
	
		
			
			
			
			
			
			2022-06-23 19:25:48 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-11-04 14:31:18 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-10 08:40:28 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-07-05 17:54:17 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-31 14:36:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-03 12:10:15 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-05 16:15:56 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-08-22 15:46:16 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-09-16 18:07:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-29 15:54:21 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-20 08:19:07 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-26 17:58:31 -07:00 
		 
	
		
			
			
			
			
			
			2022-07-15 14:00:56 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-28 11:47:40 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-04 14:31:18 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-27 16:59:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-03 12:10:15 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-05 16:15:56 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-10 08:32:29 -07:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-06-23 22:09:05 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-05 16:15:56 -07:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-05-13 20:42:20 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-03 12:13:43 -07:00 
		 
	
		
			
			
			
			
			
			2022-03-21 12:05:59 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-03 12:10:15 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-10 08:40:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-10 08:32:29 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-08-06 19:29:39 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-31 09:57:42 -07:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2022-05-17 14:58:31 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-27 17:02:10 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-10 08:42:13 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-27 16:43:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-25 11:03:44 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-04-14 17:14:34 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-23 12:27:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-14 12:44:35 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-03 12:10:15 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-05-02 17:41:49 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-17 12:05:38 -07:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2022-04-14 17:14:30 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-10-10 08:32:29 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-10 08:40:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-27 16:59:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-04 14:44:07 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-31 10:23:57 -07:00 
		 
	
		
			
			
			
			
			
			2022-03-15 13:52:15 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-06-23 19:22:12 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-10 08:32:29 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-11 04:38:36 -07:00 
		 
	
		
			
			
			
			
			
			2022-05-31 09:43:55 -07:00 
		 
	
		
			
			
			
			
			
			2022-05-02 17:41:49 -07:00 
		 
	
		
			
			
			
			
			
			2022-07-07 11:28:13 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-14 14:26:40 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-07-27 13:46:13 -07:00 
		 
	
		
			
			
			
			
			
			2022-03-14 18:01:36 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-05 16:15:56 -07:00 
		 
	
		
			
			
			
			
			
			2022-09-27 17:18:48 -07:00 
		 
	
		
			
			
			
			
			
			2022-03-14 18:01:36 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-01 08:20:47 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-22 17:16:20 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-06 15:15:10 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-05 16:15:56 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-30 16:02:06 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-24 10:18:58 -07:00 
		 
	
		
			
			
			
			
			
			2022-05-03 10:10:06 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-08-12 13:16:35 -07:00 
		 
	
		
			
			
			
			
			
			2022-11-02 16:50:06 -04:00 
		 
	
		
			
			
			
			
			
			2022-10-06 15:59:07 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-07-12 17:44:24 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-19 14:49:24 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-09-20 16:58:31 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-12 17:08:04 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-10 08:40:28 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-05 16:15:56 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-08-08 16:06:09 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-28 09:47:43 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-21 10:28:19 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-04-14 17:14:30 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-05 16:15:56 -07:00 
		 
	
		
			
			
			
			
			
			2022-04-14 17:14:30 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-09-23 12:27:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-08-11 13:45:54 -07:00 
		 
	
		
			
			
			
			
			
			2022-10-06 13:48:28 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-07-13 16:07:17 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2022-04-14 17:14:34 -07:00