Bug 22427 - Die Auswertung von @!@ ist zu gierig
Die Auswertung von @!@ ist zu gierig
Status: RESOLVED DUPLICATE of bug 29484
Product: UCS
Classification: Unclassified
Component: UCR
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-05 15:14 CEST by Janek Walkenhorst
Modified: 2012-12-03 13:31 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Fix recursive template evaluation (651 bytes, patch)
2011-05-13 10:48 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Walkenhorst univentionstaff 2011-05-05 15:14:31 CEST
Ein Template mit dem Wert

@!@
print '@'+'!@\nprint "foo"\n@!'+'@'
@!@

wird zu

foo

anstatt

print "foo"



Dies liegt daran, dass das Template immer wieder von vorne nach '@!@' durchsucht wird und die Ausgabe des Codes zwischen den ersten beiden @!@ in das Template geschrieben wird, bevor es erneut durchsucht wird.
Comment 1 Philipp Hahn univentionstaff 2011-05-13 10:48:09 CEST
Created attachment 3267 [details]
Fix recursive template evaluation
Comment 2 Alexander Kläser univentionstaff 2012-12-03 13:31:13 CET

*** This bug has been marked as a duplicate of bug 29484 ***