Permalink
Browse files

set_state_domain fixed

git-svn-id: https://svn.opensource.yandex.net/xscript/trunk@725 b01ef89b-65f2-463d-9415-e8412542ae63
  • Loading branch information...
1 parent e77e3e6 commit c8f01d34c42e675599db471322f247fb20c3f65e golubtsov committed Jan 29, 2009
Showing with 9 additions and 2 deletions.
  1. +6 −0 debian/changelog
  2. +3 −2 mist-block/mist_block.cpp
View
@@ -1,3 +1,9 @@
+xscript (5.53-1) unstable; urgency=low
+
+ * set_state_domain fixed
+
+ -- Ilya Golubtsov (Ilya) <golubtsov@yandex-team.ru> Thu, 29 Jan 2009 16:55:35 +0300
+
xscript (5.53-0) unstable; urgency=low
* library version xslt extensions added
@@ -343,9 +343,10 @@ MistBlock::setStateDomain(Context *ctx) {
}
}
- state->setString(n, StringUtils::parseDomainFromURL(url, level));
+ std::string domain = StringUtils::parseDomainFromURL(url, level);
+ state->setString(n, domain);
- StateNode node("domain", n.c_str(), XmlUtils::escape(url).c_str());
+ StateNode node("domain", n.c_str(), XmlUtils::escape(domain).c_str());
return node.releaseNode();
}

0 comments on commit c8f01d3

Please sign in to comment.