From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS8075 40.64.0.0/10 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150059.outbound.protection.outlook.com [40.107.15.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 282111F4B6 for ; Tue, 25 Jun 2019 07:33:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cYKAD3hwSmqQEwNTjAzZucJB2frGY9HsIpE4jf9YK5o=; b=gybeYxY3VQ97VHiA47zcnXVJ5OuqS8kWki4WMv8vrcykGZMYV5FBxleLJlKytsmqAN95K5/7IdwL4DA+K3m10ahcexsp0/UFw5TxFEyl17mXFM7NKxJqBFEqnWZ7slBguPsd7fym1oI7CGuUJYABzFVODv4WTqLWJ1hAYaeO15w= Received: from DB6PR0501MB2167.eurprd05.prod.outlook.com (10.168.58.144) by DB6PR0501MB2518.eurprd05.prod.outlook.com (10.168.73.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.17; Tue, 25 Jun 2019 07:33:51 +0000 Received: from DB6PR0501MB2167.eurprd05.prod.outlook.com ([fe80::f46e:3c7c:f7ff:a8f7]) by DB6PR0501MB2167.eurprd05.prod.outlook.com ([fe80::f46e:3c7c:f7ff:a8f7%7]) with mapi id 15.20.2008.017; Tue, 25 Jun 2019 07:33:51 +0000 From: Ali Alnubani To: Eric Wong CC: "meta@public-inbox.org" Subject: RE: [PATCH] searchview: avoid displaying full paths on errors Thread-Topic: [PATCH] searchview: avoid displaying full paths on errors Thread-Index: AQHVKyBqTjNekAjVREul+63Y9BrLnaar+i3w Date: Tue, 25 Jun 2019 07:33:51 +0000 Message-ID: References: <20190611193815.c4uovtlp574bid6x@dcvr> <20190612171828.b6xvwol57hw3e4ri@dcvr> <20190625063705.tugph4uyh3vetlkj@dcvr> In-Reply-To: <20190625063705.tugph4uyh3vetlkj@dcvr> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=alialnu@mellanox.com; x-originating-ip: [82.213.2.186] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3e63ef34-b99d-489e-f259-08d6f93f7866 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB6PR0501MB2518; x-ms-traffictypediagnostic: DB6PR0501MB2518: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:541; x-forefront-prvs: 0079056367 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(136003)(346002)(39860400002)(396003)(13464003)(51914003)(189003)(199004)(6116002)(446003)(486006)(11346002)(3846002)(6246003)(256004)(99286004)(6916009)(76116006)(7696005)(476003)(53546011)(102836004)(14444005)(26005)(76176011)(6506007)(73956011)(316002)(66476007)(66556008)(64756008)(66446008)(14454004)(66066001)(52536014)(66946007)(5660300002)(305945005)(71200400001)(81156014)(478600001)(8676002)(4326008)(7736002)(71190400001)(25786009)(74316002)(186003)(81166006)(8936002)(33656002)(86362001)(9686003)(68736007)(6436002)(55016002)(2906002)(53936002)(229853002)(781001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0501MB2518;H:DB6PR0501MB2167.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FPN0wjX8CXs56TtjhsKwvZjBI0I2iimVatcJGv8e0ZyGZHq5HYTQpbA98q27aHxvNS8PCKWO+Npb9qFXp41rMdForuyv+2dy9mMPpUUmzWK3600QybY291EqCGFtgAtyQOeY1MiZEXuFbVQ4xFptuFn4la6EuJjUFkUMPh85Fpkj6bpfa/ViQCZ2CSN59DSwJ5EI2ngv10nNUlRKB9BZYpf2+1H0QB6FJYmUT5SxtVaZgP7AnRLAkubJTdJ3pkI3tWgQ4WrZ5HVlteyq75eaZTkasVa8v5SkQVvM1ZVupeKUdDyZ2zdDX14g+SZI/BIDehb1qCftFH1lcFDglDpmaH0tapc+HVG9PqoXxQOAqVNU+3T2jrtStyAKfBpOe3T/J1nO4Kq1wi6MwFsvJ6lvX87n84GMfQAd5JzN82P5si4= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e63ef34-b99d-489e-f259-08d6f93f7866 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2019 07:33:51.4259 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: alialnu@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2518 List-Id: VGhhbmtzIGZvciB0aGUgcGF0Y2ggRXJpYy4NCkkgYXBvbG9naXplIGZvciB0YWtpbmcgc28g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