translations gets added to the file as soon as someone hitting a page on 
your app with that language code triggers a translation of that particular 
string.
what you witnessed in particular points to someone hitting appadmin (those 
are the translations referenced in appadmin.py)....if someone (or you) 
never got to appadmin when you deployed the application, it's normal. 
appadmin is secured but nonetheless it'd be safer to remove it on 
production deloyments


On Monday, February 15, 2016 at 8:23:40 PM UTC+1, Martin wrote:
>
> I have a nginx web2py application under version control with mercurial. 
> Today when I logged in to my server and ran hg diff i noticed that one of 
> the language files in the application folder had been modified in my 
> absence. The changes looks to be only formatting like : 
>
> "--- a/languages/pl.py    Sat Feb 13 16:50:51 2016 +0100
> +++ b/languages/pl.py    Mon Feb 15 20:11:49 2016 +0100
> @@ -1,105 +1,107 @@
> -# coding: utf8
> +# -*- coding: utf-8 -*-
>  {
> -'"update" is an optional expression like "field1=\'newvalue\'". You 
> cannot update or delete the results of a JOIN': '"Uaktualnij" jest 
> dodatkowym wyra\xc5\xbceniem postaci "pole1=\'nowawarto\xc5\x9b\xc4\x87\'". 
> Nie mo\xc5\xbcesz uaktualni\xc4\x87 lub usun\xc4\x85\xc4\x87 wynik\xc3\xb3w 
> z JOIN:',
> +'"update" is an optional expression like "field1=\'newvalue\'". You 
> cannot update or delete the results of a JOIN': '"Uaktualnij" jest 
> dodatkowym wyrażeniem postaci "pole1=\'nowawartość\'". Nie możesz 
> uaktualnić lub usunąć wyników z JOIN:',
> +'%s rows deleted': 'Wierszy usuniętych: %s',
> +'%s rows updated': 'Wierszy uaktualnionych: %s',
>  '%Y-%m-%d': '%Y-%m-%d',
>  '%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
> -'%s rows deleted': 'Wierszy usuni\xc4\x99tych: %s',
> -'%s rows updated': 'Wierszy uaktualnionych: %s',
> "
>
> and more of the same. My first worry was of course that my server is 
> somehow under attack since i have not modified the file. Could that be the 
> case or is this something that would normally happen with a web2py 
> application?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to