Home
last modified time | relevance | path

Searched refs:text_url (Results 1 – 25 of 46) sorted by relevance

12

/dports/mail/pear-Horde_Mime_Viewer/Horde_Mime_Viewer-2.2.2/lib/Horde/Mime/Viewer/
H A DHtml.php261 $text_url = @parse_url($text);
262 if (!$text_url) {
278 if (!isset($text_url['host'])) {
279 if (!isset($text_url['path'])) {
293 $text_url['path'] = substr($text_url['path'], 0, $pos);
311 $text_url['host'] = $text_url['path'];
321 (isset($text_url['scheme']) || isset($text_url['port']))) {
322 if (!isset($text_url['port'])) {
325 $text_url['port'] = 25;
329 $text_url['port'] = 80;
[all …]
/dports/net/py-urlextract/urlextract-1.4.0/urlextract/
H A Durlextract_core.py640 text_url.rfind(left_char, 0, tld_pos)
651 right_pos = len(text_url)+1
657 right_pos = len(text_url)
659 new_url = text_url[left_pos + 1:right_pos]
675 def _split_markdown(text_url, tld_pos): argument
689 left_bracket_pos = text_url.find('[')
692 return text_url
694 right_bracket_pos = text_url.find(')')
696 return text_url
698 middle_pos = text_url.rfind("](")
[all …]
/dports/mail/rspamd/rspamd-3.1/src/libserver/html/
H A Dhtml_url.cxx136 struct rspamd_url *text_url; in html_url_is_phished() local
158 text_url = rspamd_mempool_alloc0_type (pool, struct rspamd_url); in html_url_is_phished()
159 auto rc = rspamd_url_parse(text_url, url_str, strlen(url_str), pool, in html_url_is_phished()
163 text_url->flags |= RSPAMD_URL_FLAG_HTML_DISPLAYED; in html_url_is_phished()
167 if (is_transfer_proto(text_url) == is_transfer_proto(href_url)) { in html_url_is_phished()
168 disp_tok = convert_idna_hostname_maybe(pool, text_url, false); in html_url_is_phished()
172 text_url->tldlen > 0 && href_url->tldlen > 0) { in html_url_is_phished()
175 disp_tok = convert_idna_hostname_maybe(pool, text_url, true); in html_url_is_phished()
183 href_url->linked_url = text_url; in html_url_is_phished()
184 text_url->flags |= RSPAMD_URL_FLAG_HTML_DISPLAYED; in html_url_is_phished()
[all …]
/dports/mail/rspamd-devel/rspamd-93430bb/src/libserver/html/
H A Dhtml_url.cxx136 struct rspamd_url *text_url; in html_url_is_phished() local
158 text_url = rspamd_mempool_alloc0_type (pool, struct rspamd_url); in html_url_is_phished()
159 auto rc = rspamd_url_parse(text_url, url_str, strlen(url_str), pool, in html_url_is_phished()
163 text_url->flags |= RSPAMD_URL_FLAG_HTML_DISPLAYED; in html_url_is_phished()
167 if (is_transfer_proto(text_url) == is_transfer_proto(href_url)) { in html_url_is_phished()
168 disp_tok = convert_idna_hostname_maybe(pool, text_url, false); in html_url_is_phished()
172 text_url->tldlen > 0 && href_url->tldlen > 0) { in html_url_is_phished()
175 disp_tok = convert_idna_hostname_maybe(pool, text_url, true); in html_url_is_phished()
183 href_url->linked_url = text_url; in html_url_is_phished()
184 text_url->flags |= RSPAMD_URL_FLAG_HTML_DISPLAYED; in html_url_is_phished()
[all …]
/dports/net/kea/kea-2.0.1/src/lib/http/tests/
H A Durl_unittests.cc27 void testValidUrl(const std::string& text_url, in testValidUrl() argument
32 Url url(text_url); in testValidUrl()
43 void testInvalidUrl(const std::string& text_url) { in testInvalidUrl() argument
44 Url url(text_url); in testInvalidUrl()
/dports/net/madonctl/madonctl-8d3e9fa/templates/themes/ansi-dark/
H A Dcontext.tmpl15 {{- if .text_url}}
16 Text URL: {{.text_url}}{{else if .url}}
32 {{- if .text_url}}
33 Text URL: {{.text_url}}{{else if .url}}
H A Dstatus.tmpl24 {{- if .text_url}}
25 Text URL: {{.text_url}}{{else if .url}}
38 {{- if .text_url}}
39 Text URL: {{.text_url}}{{else if .url}}
H A Dnotification.tmpl35 {{- if .text_url}}
36 Text URL: {{.text_url}}{{else if .url}}
H A Dresults.tmpl30 {{- if .text_url}}
31 Text URL: {{.text_url}}{{else if .url}}
/dports/net/madonctl/madonctl-8d3e9fa/templates/themes/ansi/
H A Dcontext.tmpl15 {{- if .text_url}}
16 Text URL: {{.text_url}}{{else if .url}}
32 {{- if .text_url}}
33 Text URL: {{.text_url}}{{else if .url}}
H A Dstatus.tmpl24 {{- if .text_url}}
25 Text URL: {{.text_url}}{{else if .url}}
38 {{- if .text_url}}
39 Text URL: {{.text_url}}{{else if .url}}
H A Dresults.tmpl30 {{- if .text_url}}
31 Text URL: {{.text_url}}{{else if .url}}
H A Dnotification.tmpl35 {{- if .text_url}}
36 Text URL: {{.text_url}}{{else if .url}}
/dports/net/madonctl/madonctl-8d3e9fa/templates/
H A Dansi-status.tmpl24 {{- if .text_url}}
25 Text URL: {{.text_url}}{{else if .url}}
38 {{- if .text_url}}
39 Text URL: {{.text_url}}{{else if .url}}
H A Dansi-notification.tmpl35 {{- if .text_url}}
36 Text URL: {{.text_url}}{{else if .url}}
/dports/ftp/urlgfe/urlgfe-0.7.1/src/
H A Dcategory_setting.c29 cd->text_url = 1; in category_setting_init()
67 cd->text_url = src->text_url; in category_setting_assign()
115 setting->text_url, in category_setting_write_xml()
H A Dcategory_setting.h42 unsigned int text_url:1; member
H A Dcategory_setting_view.c184 setting->text_url); in category_setting_view_set()
222 setting->text_url = gtk_toggle_button_get_active ( in category_setting_view_get()
/dports/x11/xscreensaver/xscreensaver-5.44/driver/
H A Dxscreensaver-text50 my $text_url = 'https://en.wikipedia.org/w/index.php?title=Special:NewPages&feed=rss';
147 print STDERR "$progname: url: $text_url\n";
177 $text_url = $1;
217 $text_url = $v if defined ($v);
289 ($text_mode eq 'url' && $text_url =~ m/^\s*$/i)) {
361 get_url_text ($text_url);
834 $text_url = shift @ARGV || '';
H A Dtypes.h150 char *text_url; /* used when tmode is TEXT_URL. */ member
/dports/www/py-aiohttp/aiohttp-3.7.4.post0/tests/autobahn/
H A Dclient.py16 text_url = url + "/runCase?case=%d&agent=%s" % (i, name)
17 ws = await aiohttp.ws_connect(text_url)
/dports/multimedia/motion/motion-release-4.3.2/src/
H A Dnetcam.c100 void netcam_url_parse(struct url_t *parse_url, const char *text_url) in netcam_url_parse() argument
110 if (!strncmp(text_url, "file", 4)) in netcam_url_parse()
113 if (!strncmp(text_url, "jpeg", 4)) in netcam_url_parse()
116 if (!strncmp(text_url, "v4l2", 4)) in netcam_url_parse()
135 if (regexec(&pattbuf, text_url, 10, matches, 0) != REG_NOMATCH) { in netcam_url_parse()
137 if ((s = netcam_url_match(matches[i], text_url)) != NULL) { in netcam_url_parse()
H A Dnetcam.h258 void netcam_url_parse(struct url_t *parse_url, const char *text_url);
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/compositor/
H A Dscene.c340 SFURL_RESET(scene->text_url); in gf_scene_reset_urls()
1812 set_media_url(scene, &scene->text_url, (GF_Node*)as, &as->url, GF_STREAM_TEXT); in gf_scene_regenerate()
1957 scene->text_url.OD_ID = 0; in gf_scene_set_service_id()
2004 …if (check_odm_deactivate(&scene->text_url, odm, gf_sg_find_node_by_name(scene->graph, "DYN_TEXT") … in gf_scene_select_object()
2071 if (scene->text_url.url) gf_free(scene->text_url.url); in gf_scene_select_object()
2072 scene->text_url.url = NULL; in gf_scene_select_object()
2073 scene->text_url.OD_ID = odm->ID; in gf_scene_select_object()
2079 scene->text_url.url = gf_strdup(url); in gf_scene_select_object()
2128 odm_activate(&scene->text_url, gf_sg_find_node_by_name(scene->graph, "DYN_TEXT")); in gf_scene_select_main_addon()
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/compositor/
H A Dscene.c340 SFURL_RESET(scene->text_url); in gf_scene_reset_urls()
1812 set_media_url(scene, &scene->text_url, (GF_Node*)as, &as->url, GF_STREAM_TEXT); in gf_scene_regenerate()
1957 scene->text_url.OD_ID = 0; in gf_scene_set_service_id()
2004 …if (check_odm_deactivate(&scene->text_url, odm, gf_sg_find_node_by_name(scene->graph, "DYN_TEXT") … in gf_scene_select_object()
2071 if (scene->text_url.url) gf_free(scene->text_url.url); in gf_scene_select_object()
2072 scene->text_url.url = NULL; in gf_scene_select_object()
2073 scene->text_url.OD_ID = odm->ID; in gf_scene_select_object()
2079 scene->text_url.url = gf_strdup(url); in gf_scene_select_object()
2128 odm_activate(&scene->text_url, gf_sg_find_node_by_name(scene->graph, "DYN_TEXT")); in gf_scene_select_main_addon()

12