reorder rules in product name regex by importance
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php
index 6e203a8..edc300b 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -51,7 +51,7 @@
*
* @var string
*/
- public $product_name_rules = '\.\:\- \w';
+ public $product_name_rules = '\w \-\.\:';
/**
* only allow safe product names
@@ -544,4 +544,4 @@
}
/* End of file Cart.php */
-/* Location: ./system/libraries/Cart.php */
+/* Location: ./system/libraries/Cart.php */
\ No newline at end of file