We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 532c4eb commit 250c515Copy full SHA for 250c515
cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/class-connect.php
@@ -157,7 +157,7 @@ public function verify_connection( $data ) {
157
}
158
159
// Pattern match to ensure validity of the provided url
160
- if ( ! preg_match( '~^(?:CLOUDINARY_URL=)?cloudinary://[0-9]+:[A-Za-z_0-9]+@[A-Za-z]+~', $data['cloudinary_url'] ) ) {
+ if ( ! preg_match( '~^(?:CLOUDINARY_URL=)?cloudinary://[0-9]+:[A-Za-z_\-0-9]+@[A-Za-z]+~', $data['cloudinary_url'] ) ) {
161
add_settings_error(
162
'cloudinary_connect',
163
'format_mismatch',
0 commit comments