]> wimlib.net Git - wimlib/blobdiff - src/xml.c
mount_image.c: add fallback definitions of RENAME_* constants
[wimlib] / src / xml.c
index 63c3b4fb03e444a36386218e6671ff79ec723556..d4400ee6e80a0c27d40e6e09c087939e223aa017 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public License
- * along with this file; if not, see http://www.gnu.org/licenses/.
+ * along with this file; if not, see https://www.gnu.org/licenses/.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -1213,7 +1213,7 @@ wimlib_set_image_property(WIMStruct *wim, int image, const tchar *property_name,
        if (!property_name || !*property_name)
                return WIMLIB_ERR_INVALID_PARAM;
 
-       if (!xml_legal_name(property_name)) {
+       if (!xml_legal_path(property_name)) {
                ERROR("Property name '%"TS"' is illegal in XML", property_name);
                return WIMLIB_ERR_INVALID_PARAM;
        }