|
Bugzilla – Full Text Bug Listing |
| Summary: | Unwanted modifications of APACHE default-server.conf file over YAST2 and YAST | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Slawomir Ligus <oozie> |
| Component: | YaST2 | Assignee: | Michal Zugec <mzugec> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | SuSE Linux 10.1 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Slawomir Ligus
2006-09-01 19:00:04 UTC
read/write agent fixed in 10.3 Lukas, there is problem with regexp in FileUtils::CheckAndCreatePath() function - it removes last / character (in case of single "/" result is empty string). Could you fix it? Of course, fixed in yast2-2.15.29 ;)
Index: FileUtils.ycp
===================================================================
--- FileUtils.ycp (revision 37520)
+++ FileUtils.ycp (working copy)
@@ -274,7 +274,10 @@
string check_path = pathvalue;
// remove the final slash
- if (regexpmatch(check_path, "/$")) check_path = regexpsub(check_path, "^(.*)/$", "\\1");
+ // but never the last one "/"
+ // bugzilla #203363
+ if (regexpmatch (check_path, "/$") && check_path != "/")
+ check_path = regexpsub (check_path, "^(.*)/$", "\\1");
y2milestone("Checking existency of %1 path", check_path);
// Directory (path) already exists
Thank you close as fixed |