Home
last modified time | relevance | path

Searched refs:base_href (Results 1 – 25 of 52) sorted by relevance

123

/dports/security/nextcloud-passman/passman/lib/Service/
H A DIconService.php171 $base_href = null;
173 $base_href = rtrim($matches[2], '/') . '/';
174 $this->debugInfo['base_href'] = $base_href;
178 $this->parseLinkElement($htmlHead, $pageUrlInfo, $base_href);
184 private function parseLinkElement($htmlHead, $pageUrlInfo, $base_href){ argument
212 if (isset($base_href)) {
213 $baseHrefType = self::urlType($base_href);
217 $baseUrlInfo = parse_url($base_href);
228 if (isset($base_href)) {
229 $this->icoUrl = $base_href . $ico_href;
/dports/devel/p5-Test-WWW-Mechanize-PSGI/Test-WWW-Mechanize-PSGI-0.39/t/
H A Dsimple.t50 my $base_href = Test::WWW::Mechanize::PSGI->new(
62 my $res = $base_href->get('/');
63 is( $base_href->base, $base );
/dports/textproc/sigil/Sigil-1.8.0/src/SourceUpdates/
H A DFragmentUpdates.cpp91 QString base_href = parts.first; in UpdateFragmentsInOneFile() local
95 if (base_href.isEmpty()) { in UpdateFragmentsInOneFile()
98 … dest_bookpath = Utility::buildBookPath(base_href, Utility::startingDir(bookpath)); in UpdateFragmentsInOneFile()
100 DBG qDebug() << "base_href" << base_href; in UpdateFragmentsInOneFile()
H A DAnchorUpdates.cpp134 QString base_href = parts.first; in UpdateAnchorsInOneFile() local
137 …QString dest_bookpath = Utility::buildBookPath(base_href, Utility::startingDir(resource_bookpath)); in UpdateAnchorsInOneFile()
140 DBG qDebug() << "base_href" << base_href; in UpdateAnchorsInOneFile()
149 if (!base_href.isEmpty() && !bookpaths_impacted.contains(dest_bookpath)) { in UpdateAnchorsInOneFile()
160 } else if ((file_id == resource_bookpath) && !base_href.isEmpty()) { in UpdateAnchorsInOneFile()
/dports/www/p5-WWW-Mechanize/WWW-Mechanize-2.06/t/
H A Dcontent.t54 =head2 $mech->content(base_href => undef)
56 =head2 $mech->content(base_href => $basehref)
60 my $content = $mech->content(base_href => 'foo');
64 $content = $mech->content(base_href => undef);
/dports/security/nmap/nmap-7.91/nselib/
H A Dhttpspider.lua222 createAbsolute = function(base_url, rel_url, base_href)
234 if ( base_href and not(base_href:match("/$") ) ) then
235 base_href = base_href .. '/'
242 if ( base_href ) then
243 return ("%s%s"):format(base_href, rel_url)
252 if ( base_href ) then
253 return ("%s%s"):format(base_href, rel_url)
362 local base_href
364 base_href = self.html:match(pattern)
365 if ( base_href ) then
[all …]
/dports/net/uget/uget-2.2.1/uglib/
H A DUgHtmlFilter.c51 filter->base_href = NULL; in ug_html_filter_new()
61 ug_free (filter->base_href); in ug_html_filter_free()
228 ug_free (filter->base_href); in cb_start_head()
229 filter->base_href = ug_strdup (*attribute_values); in cb_start_head()
H A DUgHtmlFilter.h58 char* base_href; member
/dports/ftp/lftp/lftp-4.9.2/src/
H A DHttpDir.cc653 FileSet *set,FileSet *all_links,const ParsedURL *prefix,xstring_c *base_href, in parse_html() argument
789 if(base_href) in parse_html()
791 base_href->set(link_target); in parse_html()
792 Log::global->Format(10,"Using base href=%s\n",base_href->get()); in parse_html()
874 if(*link_target!='/' && base_href && *base_href && !base_href_applied) in parse_html()
876 const char *base_end=strrchr(*base_href,'/'); in parse_html()
879 link_target.set_substr(0,0,*base_href,(base_end+1-*base_href)); in parse_html()
1308 int n=parse_html(b,len,ubuf->Eof(),buf,0,&all_links,curr_url,&base_href,&ls_options, color); in Do()
1432 xstring_c base_href; in ParseLongList() local
1437 int n=parse_html(b,clen,true,Ref<Buffer>::null,set,0,&prefix,&base_href); in ParseLongList()
H A DHttpDir.h50 xstring_c base_href; variable
/dports/ftp/urlgfe/urlgfe-0.7.1/src/
H A Dhtml_import.c28 g_free (hi->base_href); in html_import_start_element()
29 hi->base_href = g_strdup (attr_values[index]); in html_import_start_element()
59 hi->base_href = NULL; in html_import_new()
74 g_free (hi->base_href); in html_import_destroy()
345 url_part (&urlp, hi->base_href); in html_import_get_url_next()
H A Dhtml_import_dialog.c118 if (hi->base_href) in html_import_dialog_new()
119 gtk_entry_set_text (GTK_ENTRY (hid->entry), hi->base_href); in html_import_dialog_new()
142 g_free (hid->html_import->base_href); in html_import_dialog_run()
143 hid->html_import->base_href = g_strdup (gtk_entry_get_text (GTK_ENTRY (hid->entry))); in html_import_dialog_run()
H A Dhtml_import.h18 gchar* base_href; // for <base href="some.address"> member
/dports/net/gnu-radius/radius-1.6.1/examples/
H A Dradius.php30 $base_href = "http://gray.farlep.net/test/"; variable
39 <?php echo "<base href=\"$base_href\">" ?>
/dports/mail/nocc/nocc-1.9.10/utils/
H A Dfunctions.php392 $base_href="";
396 $base_href=$matches[1];
397 $base_href=$base_href."/";
398 $base_href=preg_replace("/\/+$/","/",$base_href);
403 $img_tag_based=preg_replace("/(<img .*src=\")(.*\")/iU","$1".$base_href."$2",$img_tag);
/dports/security/vaultwarden/vaultwarden-1.23.1/src/api/
H A Dicons.rs368 fn get_base_href(node: &std::rc::Rc<markup5ever_rcdom::Node>, base_href: &mut url::Url) -> bool { in get_base_href()
383 *base_href = match base_href.join(attr_value) { in get_base_href()
385 _ => base_href.clone(), in get_base_href()
398 if get_base_href(child, base_href) { in get_base_href()
/dports/www/elinks/elinks-0.11.7/src/document/html/parser/
H A Dlink.c53 join_urls(html_context->base_href, in html_a()
227 unsigned char *joined_urls = join_urls(html_context->base_href, in html_img_do()
319 format.image = join_urls(html_context->base_href, src); in html_img_do()
367 format.link = join_urls(html_context->base_href, link); in put_link_line()
799 html_context->base_href, link.href, len); in html_link()
H A Dgeneral.c253 import_url = join_urls(html_context->base_href, src); in html_script()
654 unsigned char *base = join_urls(html_context->base_href, al); in html_base()
661 done_uri(html_context->base_href); in html_base()
662 html_context->base_href = uri; in html_base()
937 url = join_urls(html_context->base_href, src); in html_frame()
/dports/net/uget/uget-2.2.1/ui-gtk/
H A DUgtkSelector.c144 const gchar* base_href; in ugtk_selector_get_marked_uris() local
147 base_href = gtk_entry_get_text (selector->href_entry); in ugtk_selector_get_marked_uris()
148 if (base_href[0] == 0) in ugtk_selector_get_marked_uris()
149 base_href = NULL; in ugtk_selector_get_marked_uris()
153 if (ug_uri_init (NULL, item->uri) == 0 && base_href) { in ugtk_selector_get_marked_uris()
154 gstr = g_string_new (base_href); in ugtk_selector_get_marked_uris()
/dports/www/elinks/elinks-0.11.7/src/document/html/
H A Dinternal.h49 struct uri *base_href; member
H A Dparser.c310 url = get_uri_string(html_context->base_href, URI_ORIGINAL); in process_head()
343 unsigned char *joined_url = join_urls(html_context->base_href, url); in process_head()
780 html_context->base_href = get_uri_reference(uri); in init_html_parser()
850 done_uri(html_context->base_href); in done_html_parser()
/dports/devel/py-lxml/lxml-4.7.1/src/lxml/html/
H A D__init__.py493 base_href = None
497 base_href = b.get('href')
499 if not base_href:
501 self.make_links_absolute(base_href, resolve_base_href=False,
595 base_href=None):
612 if base_href is not None:
616 base_href, resolve_base_href=resolve_base_href)
/dports/www/squid/squid-4.15/src/clients/
H A DFtpGateway.cc107 String base_href; member in Ftp::Gateway
387 base_href.clean(); in ~Gateway()
1125 base_href = "ftp://"; in buildTitleUrl()
1128 base_href.append(rfc1738_escape_part(user)); in buildTitleUrl()
1131 base_href.append(":"); in buildTitleUrl()
1132 base_href.append(rfc1738_escape_part(password)); in buildTitleUrl()
1135 base_href.append("@"); in buildTitleUrl()
1138 base_href.append(authority.rawContent(), authority.length()); in buildTitleUrl()
1139 base_href.append(request->url.path().rawContent(), request->url.path().length()); in buildTitleUrl()
1140 base_href.append("/"); in buildTitleUrl()
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/readability/
H A Dreadability.py103 base_href = self.options['url']
104 if base_href:
105 doc.make_links_absolute(base_href, resolve_base_href=True)
/dports/www/lynx-current/lynx2.9.0dev.9/src/
H A DHTML.c1184 ? me->base_href in HTML_start_element()
1192 ? me->base_href in HTML_start_element()
1489 ? me->base_href in HTML_start_element()
2990 ? me->base_href in HTML_start_element()
3464 ? me->base_href in HTML_start_element()
3821 ? me->base_href in HTML_start_element()
4127 ? me->base_href in HTML_start_element()
7129 FREE(me->base_href); in HTML_free()
7288 FREE(me->base_href); in HTML_free()
7373 FREE(me->base_href); in HTML_abort()
[all …]

123