Fix ios connection issue
Summary: getTargetDeviceId is now being called directly from within server.tsx. Since it's exported anyway, it should always sanitize its input. Changed the ios method to sanitize the CSR in the same way that the android one does. Reviewed By: cekkaewnumchai Differential Revision: D19663992 fbshipit-source-id: 77662542b3a8767ecdd4e984a8e2d990761a9815
This commit is contained in:
committed by
Facebook Github Bot
parent
ed1d73d03c
commit
96de2e2dd1
@@ -407,7 +407,7 @@ export default class CertificateProvider {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.then(csrFromDevice => csrFromDevice === csr);
|
.then(csrFromDevice => csrFromDevice === this.santitizeString(csr));
|
||||||
}
|
}
|
||||||
|
|
||||||
santitizeString(csrString: string): string {
|
santitizeString(csrString: string): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user