Feed items

  • warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_argument.inc on line 48.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 111.
  • warning: Declaration of views_plugin_row_node_view::options_form(&$form, &$form_state) should be compatible with views_plugin_row::options_form($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/modules/node/views_plugin_row_node_view.inc on line 35.

Laravel 9.32 Released


The Laravel team released 9.32 with dd() file and line output, encrypting and decrypting .env files, a short syntax for blade component attributes, and more.
The post Laravel 9.32 Released appeared first on Laravel News.





Twig security release: Possibility to load a template outside a configured directory when using the filesystem loader

Affected versions

Twig >1.0.0,<1.44.7 || >2.0.0,<2.15.3 || >3.0.0,<3.4.3 are affected by this security issue.

The issue has been fixed in Twig 1.44.7, 2.15.3 and 3.4.3.

Description

When using the filesystem loader to load templates for which the name is a user input, it is possible to use the source or include statement to read arbitrary files from outside the templates directory when using a namespace like @somewhere/../some.file (in such a case, validation is bypassed).





[wiki] Aadhar Number Validator

In India have Aadhar number an we may need to valid it a input.
So I created a validator for yii2
use yii\validators\Validator;

class TAadharNumberValidator extends Validator
{

public $regExPattern = '/^\d{4}\s\d{4}\s\d{4}$/';

public function validateAttribute($model, $attribute)
{
if (preg_match($this->regExPattern, $model->$attribute)) {
$model->addError($attribute, 'Not valid Aadhar Card Number');
}
}
}





WordPress 6.1 Beta 2 Now Available

WordPress 6.1 Beta 2 is now available for download and testing.

This version of the WordPress software is under development. Please do not install, run, or test this version of WordPress on production or mission-critical websites. Instead, it is recommended that you test Beta 2 on a test server and site. 

You can test WordPress 6.1 Beta 2 in three ways:





A Week of Symfony #821 (19-25 September 2022)

This week, Symfony development activity focused on finishing and polishing some new features for the upcoming Symfony 6.2 version, such us: updating codebase to use modern PHP features like null coalescing assignment and match statements; adding new config options for HttpCache; and





Evolving Ember’s Major Version Process

We recently made a significant shift in how we think about versioning in Ember, with RFC 0830: Evolving Ember’s Major Version Process. Starting in the current 4.0 cycle, Ember major versions will be 18 months long, running from the .0 release up to the .12 release, and then starting a new major version.