? Success

User tests: Successful: Unsuccessful:

avatar pe7er
pe7er
7 Nov 2015

This PR filters fixes a problem with nullbyte that I found using com_search.

Testing instructions

Before the PR

Search keyword with nullbyte %00

On the front-end use the Search Module or Search Component and search for a keyword containing a nullbyte %00, eg test%00

com_search_before

Joomla crashes on nullbyte %00

with error message:
Warning: Header may not contain NUL bytes in /www/joomla-cms/libraries/joomla/application/web.php on line 960

com_search_before2

After the PR

After this PR the nullbyte will be stripped from the Header and search will work correctly.

com_search_after

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar pe7er pe7er - open - 7 Nov 2015
avatar pe7er pe7er - change - 7 Nov 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Nov 2015
Labels Added: ?
avatar pe7er pe7er - change - 7 Nov 2015
Title
Filter nullbyte in Header, feeded via com_search
Filter nullbyte (feeded via com_search) in Header
avatar waader waader - test_item - 7 Nov 2015 - Tested successfully
avatar waader
waader - comment - 7 Nov 2015

I have tested this item :white_check_mark: successfully on 88bbca6


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8313.

avatar zero-24 zero-24 - change - 9 Nov 2015
Category Search SQL
avatar zero-24 zero-24 - change - 9 Nov 2015
Easy No Yes
avatar zero-24 zero-24 - change - 9 Nov 2015
Category Search SQL Search
avatar RonakParmar
RonakParmar - comment - 10 Nov 2015

I have tested this item :white_check_mark: successfully on 88bbca6


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8313.

avatar zero-24 zero-24 - alter_testresult - 10 Nov 2015 - RonakParmar: Tested successfully
avatar zero-24 zero-24 - change - 10 Nov 2015
Milestone Added:
Status Pending Ready to Commit
avatar zero-24 zero-24 - change - 10 Nov 2015
Milestone Added:
avatar zero-24
zero-24 - comment - 10 Nov 2015

RTC. Thanks.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8313.

avatar joomla-cms-bot joomla-cms-bot - change - 10 Nov 2015
Labels Added: ?
avatar pe7er
pe7er - comment - 10 Nov 2015

Thanks for testing @waader & @RonakParmar !


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8313.

avatar rdeutz rdeutz - change - 16 Nov 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-11-16 20:28:22
Closed_By rdeutz
avatar rdeutz rdeutz - close - 16 Nov 2015
avatar joomla-cms-bot joomla-cms-bot - close - 16 Nov 2015
avatar joomla-cms-bot joomla-cms-bot - change - 16 Nov 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment