Skip to content

Refactoring and fixed for Module\Rpost

Harald Eilertsen requested to merge snake66/hubzilla-core:fix-rpost-module into dev
  • Add some basic tests for the Rpost module.
  • Remove unused/obsolete variabled
  • Refactoring: Move functional units into separate functions
  • Refactoring: Reuse returned value from local_channel() instead of recalculating it every time.
  • Add return types and API docs
  • Fix warnings and deprecations exposed by tests.
  • Security: Fix open redirect in Rpost. Redirect to submitted post instead of external URL when post is successfully submitted.
  • Various fixes/improvements to the unit test framework.

Merge request reports

Loading