The encoding thing has been fixed.
The JVM was running with the (apparently default) "file.encoding:
ANSI_X3.4-1968", so I added a "-Dfile.encoding=UTF-8" to the tomcat startup
script.

regards,
Harry



On 29 November 2013 08:42, Harry Metske <harry.met...@gmail.com> wrote:

> strange indeed. also logged in users cannot save their preferences.
>
> for the encoding thing, I addedd URIEncoding="UTF-8" to the AJP connector
> (though that shouldn't be necessary) , but that did not help.
> Looking with vi at the file on the filesystem shows correct encoding.
> I have to dig a bit more (tomorrow I think).
>
> regards,
> Harry
>
>
>
> On 29 November 2013 00:00, Juan Pablo Santos Rodríguez <
> juanpablo.san...@gmail.com> wrote:
>
>> Hi,
>>
>> I've just noticed a couple of strange things:
>>
>> - preferences aren't saved if you're an anonymous user, not sure if
>> related
>> to ProxyPassReverseCookiePath parameter being (not?) set on apache cfg?
>> apache isn't changing the app path, so it shouldn't be necessary.
>>
>> - non-ascii letters are shown as ?, i.e. I get "Buenas, (an?nimo)" instead
>> of "Buenas, (anónimo)" not sure if uriencoding is set on tomcats'
>> server.xml, or if it's an apache issue
>>
>> both issues also happen when going directly through jspwiki-vm.a.o/wiki
>>
>> thoughts?
>>
>>
>> br,
>> juan pablo
>>
>>
>>
>> On Wed, Nov 27, 2013 at 11:14 PM, Glen Mazza <glen.ma...@gmail.com>
>> wrote:
>>
>> > Could it be that they didn't give us jspwiki.apache.org/wiki directly
>> > because jspwiki.apache.org refers to a different machine (IP address)?
>> >  But at least j.a.o/wiki redirects to the wiki.
>> >
>> > Glen
>> >
>> >
>> > On 11/27/2013 03:19 PM, Harry Metske wrote:
>> >
>> >> Juan,
>> >>
>> >> X-Forwarded-For header is an excellent idea. I should have thought of
>> that
>> >> myself :-).
>> >> I just check on the vm, we get that header passed from the proxy. I
>> will
>> >> create a JIRA issue for JSPWiki SpamFilter for that.
>> >> I'll also ask INFRA if it possible to have the URL changed.
>> >>
>> >> tx,
>> >> Harry
>> >>
>> >>
>> >>
>> >> On 27 November 2013 18:59, Juan Pablo Santos Rodríguez <
>> >> juanpablo.san...@gmail.com> wrote:
>> >>
>> >>  Hi Harry,
>> >>>
>> >>> thanks a lot for pursuing this!!
>> >>>
>> >>> as you say, https://jspwiki-wiki.apache.org/wiki seems a little
>> weird,
>> >>> ideally, jspwiki.a.o/wiki should serve the wiki (same for doc wiki).
>> As
>> >>> for
>> >>> the real ip, could we use x-ip-forwarded-for header? (don't know about
>> >>> fail2ban, but most probably SpamFilter isn't looking in for that
>> header,
>> >>> we
>> >>> should add it)
>> >>>
>> >>>
>> >>> br,
>> >>> juan pablo
>> >>>
>> >>>
>> >>>
>> >>> On Wed, Nov 27, 2013 at 9:40 AM, Harry Metske <harry.met...@gmail.com
>> >>>
>> >>>> wrote:
>> >>>> Folks,
>> >>>>
>> >>>> Our wiki is now available at : https://jspwiki-wiki.apache.org/wiki
>> >>>>
>> >>>>
>> >>>> See the last comment for the status :
>> >>>>
>> >>>>
>> >>>>  https://issues.apache.org/jira/browse/INFRA-5588?
>> >>> focusedCommentId=13833580&page=com.atlassian.jira.
>> >>> plugin.system.issuetabpanels:comment-tabpanel#comment-13833580
>> >>>
>> >>>> Does anyone of you have anything to add here ?
>> >>>>
>> >>>> * I like to see client IP address, so we can use the SpamFilter and
>> >>>> fail2ban.
>> >>>> * the URL has a double reference to wiki, both in the hostname and
>> the
>> >>>> resource after the "/" (and also for doc), but is not a showstopper
>> to
>> >>>>
>> >>> me.
>> >>>
>> >>>> kind regards,
>> >>>> Harry
>> >>>>
>> >>>>
>> >
>>
>
>

Reply via email to