Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/store/web/modules/contrib/commerce/src/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/store/web/modules/contrib/commerce/src/UrlData.php

<?php

namespace Drupal\commerce;

/**
 * Encodes and decodes array data in a URL-safe way.
 */
final class UrlData {

  /**
   * Encodes the given data.
   *
   * @param array $data
   *   The data.
   *
   * @return string
   *   The encoded data.
   */
  public static function encode(array $data) {
    $data = json_encode($data);
    // URL-safe Base64 encoding (base64url).
    $data = str_replace(['+', '/', '='], ['-', '_', ''], base64_encode($data));

    return $data;
  }

  /**
   * Decodes the given data.
   *
   * @param string $data
   *   The encoded data.
   *
   * @return array|false
   *   The decoded data, or FALSE if decoding failed.
   */
  public static function decode($data) {
    $data = base64_decode(str_replace(['-', '_'], ['+', '/'], $data));
    if ($data) {
      $data = json_decode($data, TRUE);
    }

    return is_array($data) ? $data : FALSE;
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net