Skip to content

Article can't be saved/updated by the user after 3.7.0 updation #15673

@kozhevn

Description

@kozhevn

Steps to reproduce the issue

Backend:

  1. Create user with only Registered+Author+Editor+Publisher access rights.
  2. Create an article, set this user as author

Frontend:
3. Logged in with this user account
4. Edit article (editor doesn't matter), put simple content <h3> test <\h3>
5. As can see 'Save' button works fine, article content updated.
6. Edit again and put the text from attachment content.txt or something another with few html tags.
7. 'Save' button produced timeout error and article updation doesn't happens.

Restoring the file 'libraries/joomla/filter/input.php' to version < 3.7.0 fixes the issue.

Expected result

At the position 7 'Save' button produce fast content updation without error.

Actual result

'Save' button produce timeout error over a time and article updation doesn't happens.

System information (as much as possible)

Linux 4.4.0-67-generic #88-Ubuntu SMP Wed Mar 8 16:34:45 UTC 2017 x86_64
Ubuntu 16.04.2 LTS
PHP 7.0.15-0ubuntu0.16.04.4
Joomla! 3.7.0 Stable [ Amani ] 25-April-2017 15:36 GMT
Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

Additional comments

Behaviour looks like posted in #15628 but issue is another in the reproduction ( can be reproducted only for user and doesn't requred a big content, for me it was happens even with one <p> tag content from example ).

Restoring only the 'libraries/joomla/filter/input.php' to version < 3.7.0 fixes the issue.

Issue happens in frontend only (created user have no backend access).

When superuser edit the article under backend, all works just fine.

It seems looks like as an infinity loop during article content filtration functionality by the 'libraries/joomla/filter/input.php'.
Probably the filtration doesn't happens for superuser under backend.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions