[Freeipa-devel] [PATCH] 746-747 append domain into network.negotiate-auth.trusted-uris

Petr Vobornik pvoborni at redhat.com
Thu Sep 11 07:44:33 UTC 2014


On 10.9.2014 19:33, Endi Sukma Dewata wrote:
> On 9/10/2014 9:59 AM, Petr Vobornik wrote:
>> On 4.9.2014 21:26, Endi Sukma Dewata wrote:
>>> On 8/29/2014 11:00 AM, Petr Vobornik wrote:
>>>> [PATCH] 746 webui: append network.negotiate-auth.trusted-uris
>>>>
>>>> https://fedorahosted.org/freeipa/ticket/4478
>>>
>>> Some comments/questions:
>>>
>>> 1. If I'm reading this correctly, if the preference is currently empty,
>>> the method will just return without setting the new value.
>>
>> Fixed. Yes, even if there was 'continue', it would be wrong.
>>
>>>
>>> 2. If the new value already exists, the method will just return.
>>> Shouldn't it "continue" with the rest of the loop instead of "return"?
>>> This applies to #1 as well.
>>
>> Yes, fixed.
>>
>>>
>>> 3. Using indexOf() to find a URI in a string can produce false matches.
>>> For example, aa.com will match baa.com. Ideally the existing value
>>> should be parsed into a collection of URI's, then the new URI should be
>>> matched using a proper URI matching algorithm.
>>
>> Fixed with function which matches splitted and striped values using
>> strict equality.
>
> ACK. A possible improvement is to normalize the current value to remove
> excessive white spaces.
>

Pushed to:

master:
* 388a6432ed9c45ca84240c596f091268176d46f9 webui: append 
network.negotiate-auth.trusted-uris
* 4e6a3c69b0e07e5ec32381a47281ad88e41aae5d install: create ff krb 
extension on every install, replica install and upgrade
ipa-4-1:
* de90d7d44930cfa615e50ed022de7ea48e31609a webui: append 
network.negotiate-auth.trusted-uris
* 97aebf8635ba26398353c91de9ca60844bea8c27 install: create ff krb 
extension on every install, replica install and upgrade

-- 
Petr Vobornik




More information about the Freeipa-devel mailing list