Closed markkuriekkinen closed 1 year ago
The code that crashed was modified in this commit: https://github.com/apluslms/mooc-jutut/commit/edd6866a0b79a62752377e4a3b2fe76ac462819a#diff-57474d9eceffcf4c288548a5c3cea35bd56475183c8356e323972143d7c61149L502-R519
I don’t know if this is related or a separate issue, but I’ve found that it’s possible to crash Jutut by doing this:
Note that the regex under "response value" is invalid.
If you make a context tag like that (in O1) and try to load any messages in Jutut → 500 error.
@jsorva I think that is relevant for this issue. @ihalaij1, what do you think of jsorva's comment above?
@jsorva I think that is relevant for this issue. @ihalaij1, what do you think of jsorva's comment above?
Yes, this is now fixed in the PR. @jsorva if you want to use an asterisk in the context tag, you should write it like this: .*
(dot matches any character and asterisk matches zero or higher number of characters)
Yes, this is now fixed in the PR. @jsorva if you want to use an asterisk in the context tag, you should write it like this:
.*
(dot matches any character and asterisk matches zero or higher number of characters)
Thanks! (And yes, I’ve solved the context tag issue.)
Server crashed in the
ManageFeedbacksListView
. Regular expressionsfullmatch()
function call.re.error: nothing to repeat at position 0
Relevant part in the traceback. The full traceback is also listed below.
Full traceback: