mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix: primitive 17: note same-origin identifier validation can be bypassed by wrapping the id in an array
This commit is contained in:
		
							parent
							
								
									b74e2e9167
								
							
						
					
					
						commit
						4d925fc086
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -426,6 +426,9 @@ export class ApInboxService {
 | 
				
			||||||
					return 'skip: host in actor.uri !== note.id';
 | 
										return 'skip: host in actor.uri !== note.id';
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
								else {
 | 
				
			||||||
 | 
									return 'skip: note.id is not a string'
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		const unlock = await this.appLockService.getApLock(uri);
 | 
							const unlock = await this.appLockService.getApLock(uri);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue