Special characters can be used in GCS plugin url configuration fields.
Bug #1621898 reported by
Vitalii Yerys
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fuel-plugin-cinder-gcs |
Fix Released
|
Medium
|
fuel-plugin-cinder-gcs |
Bug Description
According to RFC 1738 it is not recommended to use unsafe special characters, while in plugin configuration fields it is possible to set special characters inside the body of URL:
For example I was able to set such Auth token url:
https:/
Changed in fuel-plugin-cinder-gcs: | |
assignee: | nobody → fuel-plugin-cinder-gcs (fuel-plugin-cinder-gcs) |
Changed in fuel-plugin-cinder-gcs: | |
status: | New → In Progress |
Changed in fuel-plugin-cinder-gcs: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/369282 /git.openstack. org/cgit/ openstack/ fuel-plugin- cinder- gcs/commit/ ?id=a0e8b83c100 a735816bf9eed81 9a5ceecbacef73
Committed: https:/
Submitter: Jenkins
Branch: master
commit a0e8b83c100a735 816bf9eed819a5c eecbacef73
Author: Taras Kostyuk <email address hidden>
Date: Tue Sep 13 12:26:04 2016 +0300
More strict regex for UI URL fields
Closes-Bug: #1621898
The regex added by this commit is taken from /github. com/openstack/ fuel-ui/ blob/stable/ mitaka/ static/ views/custom_ controls. js#L72
https:/
which is regex used for validating Repositories URI in Fuel UI.
Change-Id: Id9387135260822 f2e1b5527f432fc 9e30512f2f2