~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/stories/bugs/xx-bug-obfuscation.txt

  • Committer: Jeroen Vermeulen
  • Date: 2011-10-16 08:16:47 UTC
  • mto: This revision was merged to the branch mainline in revision 14165.
  • Revision ID: jeroen.vermeulen@canonical.com-20111016081647-nb3ab4mv9wwr68z2
Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
= Bug obfuscation =
 
1
Bug obfuscation
 
2
===============
2
3
 
3
4
Launchpad protects user email addresses from spam harvesters by
4
5
obfuscating addresses viewed by anonymous users. When a bug's
14
15
    >>> user_browser.title
15
16
    'Bug #3 in mozilla-firefox (Debian Sarge): ...Bug Title Test...'
16
17
 
17
 
    >>> description = find_tag_by_id(user_browser.contents, 'edit-description')
 
18
    >>> description = find_tag_by_id(
 
19
    ...     user_browser.contents, 'edit-description')
18
20
    >>> description.renderContents()
19
21
    '...<p>Shirtpkdf user@domain.org lkjd hlkjfds...'
20
22
 
29
31
    >>> 'user@domain.org' in anon_browser.contents
30
32
    False
31
33
 
32
 
    >>> description = find_tag_by_id(anon_browser.contents, 'edit-description')
 
34
    >>> description = find_tag_by_id(
 
35
    ...     anon_browser.contents, 'edit-description')
33
36
    >>> description.renderContents()
34
37
    '...<p>Shirtpkdf &lt;email address hidden&gt; lkjd hlkjfds...'