You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
Using the Jessie Image (upribox-image-v0_5.zip (May 2016)), each time nginx should serve upri.css (or rather generic.css or special.css to be exact) it fails with an 500 Internal Server Error.
The nginx_css_error.log file contains following error message:
It seems that the Lua file, which is loaded from https://rules.upribox.org/downloads/css.de.lua, contains several invalid escape sequences in the strings of local specific, for instance \<.
I tested the new filter files and they work like a charm. This issue is now fixed.
If someone is using the upribox in development mode and needs to update the rules manually, the easiest way is to use ssh and enter upri-filter-update.py.
Using the Jessie Image (
upribox-image-v0_5.zip (May 2016)
), each time nginx should serveupri.css
(or rathergeneric.css
orspecial.css
to be exact) it fails with an500 Internal Server Error
.The
nginx_css_error.log
file contains following error message:It seems that the Lua file, which is loaded from https://rules.upribox.org/downloads/css.de.lua, contains several invalid escape sequences in the strings of
local specific
, for instance\<
.Apparently, recent versions of luajit (as used by nginx) have a stricter handling of invalid escape sequences than older versions: http://lua-users.org/lists/lua-l/2011-09/msg00267.html
Following output shows, that the nginx version, used by the jessie image, is using
luajit v5.1
:After some debugging with
luac
(v5.2.3) I got a working version ofcss.lua
: css.de.zipThe text was updated successfully, but these errors were encountered: