Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ngSanitize fails to parse html with doctype #902

@bkc

Description

@bkc

in rc6

Parse Error http://code.angularjs.org/1.0.0rc6/angular-1.0.0rc6.js Line 5240

calling $sanitize(string)

where string is as follows:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html>
        <head>
            <title>Error 500: Internal Server Error</title>
            <style type="text/css">
              html {background-color: #eee; font-family: sans;}
              body {background-color: #fff; border: 1px solid #ddd;
                    padding: 15px; margin: 15px;}
              pre {background-color: #eee; border: 1px solid #ddd; padding: 5px;}
            </style>
        </head>
        <body>
            <h1>Error 500: Internal Server Error</h1>
            <p>Sorry, the requested URL <tt>&#039;http://server3a:8080/data/carrier_account/account/8&#039;</tt>
               caused an error:</p>
            <pre>Internal Server Error</pre>
              <h2>Exception:</h2>
              <pre>AttributeError(&quot;&#039;carrier_account_manager&#039; object has no attribute &#039;delete_account&#039;&quot;,)</pre>
              <h2>Traceback:</h2>
              <pre>Traceback (most recent call last):
  File &quot;/home/bkc/Python_Environments/sfi_customer_profile/lib/python2.7/site-packages/bottle.py&quot;, line 737, in _handle
    return route.call(**args)
  File &quot;/home/bkc/Python_Environments/sfi_customer_profile/lib/python2.7/site-packages/bottle.py&quot;, line 1456, in wrapper
    rv = callback(*a, **ka)
  File &quot;./carrier_account_server.py&quot;, line 138, in delete_account
    cam.delete_account(carrier_account=request.json)
AttributeError: &#039;carrier_account_manager&#039; object has no attribute &#039;delete_account&#039;
</pre>
        </body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions