You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@apache.org by sebb <se...@gmail.com> on 2016/01/11 17:23:24 UTC
Re: svn commit: r974733 - /websites/staging/www/trunk/content/dyn/closer.lua
Fixed in:
URL: http://svn.apache.org/viewvc?rev=1724078&view=rev
Log:
Back port change made to staging repo in Author: humbedooh
Date: Sun Dec 6 13:11:58 2015
New Revision: 974733
Modified:
infrastructure/site/trunk/content/dyn/closer.lua
On 6 December 2015 at 13:53, sebb <se...@gmail.com> wrote:
> What about the original source, which is in:
>
> https://svn.apache.org/repos/asf/infrastructure/site/trunk/content/dyn
>
> Surely that should normally be updated first and then pushed to the website?
>
> On 6 December 2015 at 13:11, <hu...@apache.org> wrote:
>> Author: humbedooh
>> Date: Sun Dec 6 13:11:58 2015
>> New Revision: 974733
>>
>> Log:
>> update here as well, oops
>>
>> Modified:
>> websites/staging/www/trunk/content/dyn/closer.lua
>>
>> Modified: websites/staging/www/trunk/content/dyn/closer.lua
>> ==============================================================================
>> --- websites/staging/www/trunk/content/dyn/closer.lua (original)
>> +++ websites/staging/www/trunk/content/dyn/closer.lua Sun Dec 6 13:11:58 2015
>> @@ -230,6 +230,13 @@ function handle(r)
>> defs.preferred = URL['http']
>> end
>>
>> + -- string only repr of preferred URL
>> + if get.preferred and get.preferred == "true" then
>> + r.content_type = "text/plain"
>> + r:puts(defs.preferred)
>> + return apache2.OK
>> + end
>> +
>> local do_json = false
>> if (get.as_json and not (get.as_json == "0")) or (get.asjson and not (get.asjson == "0")) then
>> do_json = true
>>
>>