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

ngSanitize fails to parse html with doctype #902

Closed
bkc opened this issue Apr 24, 2012 · 2 comments
Closed

ngSanitize fails to parse html with doctype #902

bkc opened this issue Apr 24, 2012 · 2 comments

Comments

@bkc
Copy link

bkc commented Apr 24, 2012

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>
@caitp
Copy link
Contributor

caitp commented Jan 12, 2014

@petebacondarwin this issue is probably close-able, no?

@jeffbcross
Copy link
Contributor

Closing as no longer valid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants