Mailinglist Archive: yast-devel (233 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] <rest-service> master : try to fix arguments handling - adding debug output (to be removed later)
  • From: "J. Daniel Schmidt" <jdsn@xxxxxxx>
  • Date: Mon, 26 Oct 2009 16:08:04 +0100
  • Message-id: <200910261608.06269.jdsn@xxxxxxx>
On Friday 23 October 2009 08:29:11 Josef Reidinger wrote:
+ # FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME
FIXME FIXME FIXME FIXME + # Hash.from_xml converts dashes in keys to
underscores
+ # by this we can not find out the correct key name (whether it was
a dash or an underscore) + # unfortunately the regcode keys in
registration make excessive use of dashes AND underscores + # that
way the information gets lost what key to assign the correct value + #
This needs urgently to be fixed

^^^
Hi,
I think that reason why it do it, is security - http://osvdb.org/40717 , so
please pay attention when you change it. I think that your work around is
good, if you properly document it.

No the workaround is not good because it only works for us now as we tested it
with keys that only have dashes and no underscores.
But when the first key appears that contains an underscore the whole thing
breaks. This workaround is wrong - it works now, but it is wrong.

Schubi solved the issue by overwriting the transformation magic :)


Ciao,
Daniel

--
J. Daniel Schmidt <jdsn@xxxxxxx> SUSE Linux Products GmbH
Research & Development Maxfeldstr. 5
GF: Markus Rex, HRB 16746 (AG Nürnberg) D-90409 Nürnberg
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References