View Issue Details

IDProjectCategoryView StatusLast Update
0000524fileGeneralpublic2024-05-12 18:26
Reporterbug Assigned Tochristos  
PriorityurgentSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
Summary0000524: csv detected as html
Description>>> import magic
>>> magic.from_buffer('id,url,html_url,author_id,comments_disabled,draft,promoted,position,vote_sum,vote_count,section_id,created_at,updated_at,name,title,source_locale,locale,outdated,outdated_locales,edited_at,user_segment_id,permission_group_id,content_tag_ids,label_names,body\n25289643653275,https://abacusai8450.zendesk.com/api/v2/help_center/en-us/articles/25289643653275.json,https://abacusai8450.zendesk.com/hc/en-us/articles/25289643653275-Aaron-Article-Example,25080302833435,False,False,True,0,1,1,25289315725851,2024-04-29T19:30:44Z,2024-04-29T19:31:35Z,Aaron Article Example,Aaron Article Example,en-us,en-us,False,[],2024-04-29T19:30:44Z,25289315715611.0,25289309334811,[],[],"

This article is a work in progress. I want to test many things with this including embedded images, tables, code blocks, and more.

\n

\xa0

\n

What information will we pull from the connector? Will I be able to see comments for the article? If it was promoted? The labels?\xa0

\n


I assume that the author\'s profile name will be included, but I need to check.

\n

\xa0

\n

Still no content tags to include.

\n

\xa0

\n

I have uploaded an attachment in addition to the embedded image below.

\n

\xa0

\n

<img src=""https://abacusai8450.zendesk.com/hc/article_attachments/25289643641883"" alt=""Designer (2).jpeg"">

\n

\xa0

\n

Videos seem to be supported as well.

\n

\xa0

"\n25289315826587,https://abacusai8450.zendesk.com/api/v2/help_center/en-us/articles/25289315826587.json,https://abacusai8450.zendesk.com/hc/en-us/articles/25289315826587-How-can-agents-leverage-knowledge-to-help-customers,25080302833435,False,False,False,0,0,0,25289309378971,2024-04-29T19:21:52Z,2024-04-29T19:21:52Z,How can agents leverage knowledge to help customers?,How can agents leverage knowledge to help customers?,en-us,en-us,False,[],2024-04-29T19:21:52Z,,25289309334811,[],[],"

You can use our <a href=""https://support.zendesk.com/hc/en-us/articles/115012706488"" target=""_blank"">Knowledge Capture app</a> to leverage your team’s collective knowledge.

\n

Usin', mime=True)
'text/html'
this should return text/plain

Steps To Reproducesimply import magic ansd run the following-

magic.from_buffer('id,url,html_url,author_id,comments_disabled,draft,promoted,position,vote_sum,vote_count,section_id,created_at,updated_at,name,title,source_locale,locale,outdated,outdated_locales,edited_at,user_segment_id,permission_group_id,content_tag_ids,label_names,body\n25289643653275,https://abacusai8450.zendesk.com/api/v2/help_center/en-us/articles/25289643653275.json,https://abacusai8450.zendesk.com/hc/en-us/articles/25289643653275-Aaron-Article-Example,25080302833435,False,False,True,0,1,1,25289315725851,2024-04-29T19:30:44Z,2024-04-29T19:31:35Z,Aaron Article Example,Aaron Article Example,en-us,en-us,False,[],2024-04-29T19:30:44Z,25289315715611.0,25289309334811,[],[],"

This article is a work in progress. I want to test many things with this including embedded images, tables, code blocks, and more.

\n

\xa0

\n

What information will we pull from the connector? Will I be able to see comments for the article? If it was promoted? The labels?\xa0

\n


I assume that the author\'s profile name will be included, but I need to check.

\n

\xa0

\n

Still no content tags to include.

\n

\xa0

\n

I have uploaded an attachment in addition to the embedded image below.

\n

\xa0

\n

<img src=""https://abacusai8450.zendesk.com/hc/article_attachments/25289643641883"" alt=""Designer (2).jpeg"">

\n

\xa0

\n

Videos seem to be supported as well.

\n

\xa0

"\n25289315826587,https://abacusai8450.zendesk.com/api/v2/help_center/en-us/articles/25289315826587.json,https://abacusai8450.zendesk.com/hc/en-us/articles/25289315826587-How-can-agents-leverage-knowledge-to-help-customers,25080302833435,False,False,False,0,0,0,25289309378971,2024-04-29T19:21:52Z,2024-04-29T19:21:52Z,How can agents leverage knowledge to help customers?,How can agents leverage knowledge to help customers?,en-us,en-us,False,[],2024-04-29T19:21:52Z,,25289309334811,[],[],"

You can use our <a href=""https://support.zendesk.com/hc/en-us/articles/115012706488"" target=""_blank"">Knowledge Capture app</a> to leverage your team’s collective knowledge.

\n

Usin', mime=True)

TagsNo tags attached.

Activities

christos

2024-05-12 18:26

manager   ~0004042

Does not work. Put code in python file and upload as attachment.

Issue History

Date Modified Username Field Change
2024-05-08 20:15 bug New Issue
2024-05-08 20:27 bug Issue cloned: 0000525
2024-05-12 18:26 christos Assigned To => christos
2024-05-12 18:26 christos Status new => assigned
2024-05-12 18:26 christos Status assigned => feedback
2024-05-12 18:26 christos Note Added: 0004042