Skip to content

[Bugfix]48178: Added some filtering to rev.title in SQLs to reduce false positive cases - #12180

Open
jochen-ac wants to merge 3 commits into
ILIAS-eLearning:release_10from
jochen-ac:release_10-sqlfix48178
Open

jochen-ac wants to merge 3 commits into
ILIAS-eLearning:release_10from
jochen-ac:release_10-sqlfix48178

Conversation

@jochen-ac

Copy link
Copy Markdown
Contributor

We also have a few cases left over. We have now noticed that their number has continued to rise following the migration due to new submissions. I suspect that these are false positives, which still remain different after each run. I have already identified a few points:
• For example, file names may appear in the IRSS that themselves contain a “/”. However, for comparison purposes, everything after the last ‘/’ is truncated in exc_returned.filename, as that is where the full path is stored. > The truncation must therefore also take place on the other side.
• The IRSS converts certain characters into ASCII codes (e.g. ‘&’). This conversion does not take place for exc_returned.filename.

Added additional replaces to solve false positives due to .sec-extension.
@jochen-ac

Copy link
Copy Markdown
Contributor Author

Mitigated a third false positive case: If an unauthorized file extension is used, exc_returned appends ‘.sec’; the IRSS does not do this anymore. The remove has to be done on both sides, because IRSS has appended .sec in earlier versions.

And, unfortunately, I’d forgotten to mention the relevant Mantis issue:https://mantis.ilias.de/view.php?id=48178

@mjansenDatabay mjansenDatabay added bugfix php Pull requests that update Php code labels Oct 8, 2026
@dsstrassner dsstrassner changed the title Added some filtering to rev.title in SQLs to reduce false positive cases [Bugfix]48178: Added some filtering to rev.title in SQLs to reduce false positive cases Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants