Menu

Topic-icon Some errors (and a suggestion) for displaying the log

  • arcturus
  • arcturus's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
7 months 4 weeks ago - 7 months 4 weeks ago #7381 by arcturus
Hello developers,
I found some error in /administrator/components/com_securitycheckpro/views/logs/tmpl/default.php , and I have a suggestion for improvement: the URL string to no longer be truncated, because sometimes one can't see if it's a false positive or a SQL injection and so on (there is also a wrong attribute for „align” - the second part belongs to „style”).
Lines 222 to 227
<td align="center; font-size: 0.75em;">
	<?php 
	$uri_sanitized = htmlentities(filter_var($row->uri, FILTER_SANITIZE_STRING));
	echo substr(($uri_sanitized), 0, 40); ?>

</td>
could be replaced for
<td align="center" style="word-break:break-all">
	<?php 
	$uri_sanitized =  htmlentities(filter_var($row->uri, FILTER_SANITIZE_STRING));
	echo $uri_sanitized; ?>

</td>
Last edit: 7 months 4 weeks ago by arcturus.

Please Log in or Create an account to join the conversation.

More
7 months 4 weeks ago #7383 by Jose
Hi arcturus,

Thank you very much for your suggestion! I will add it to the next regrese

Regards,
Jose

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum

Login or Sign In