- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 109 for replaceUrl (0.18 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
String oldUrl = null; while (url.indexOf("/../") >= 0 && !url.equals(oldUrl)) { oldUrl = url; url = url.replaceFirst("/[^/]+/\\.\\./", "/"); } return url.replaceAll("([^:])/+", "$1/"); } /** * Checks if a path is valid for crawling (not a JavaScript, mailto, or other invalid URL). * * @param path the path to validate
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
dictionaryPath = dictionaryPath + "/"; } source = source.replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath)// .replaceAll(Pattern.quote("${fess.index.codec}"), fessConfig.getIndexCodec())// .replaceAll(Pattern.quote("${fess.index.number_of_shards}"), numberOfShards)// .replaceAll(Pattern.quote("${fess.index.auto_expand_replicas}"), autoExpandReplicas);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0) -
cmd/admin-handlers.go
return cmdLine } if !globalIsDistErasure { // FS mode - single server - hard code to `server1` anonCmdLine := strings.ReplaceAll(cmdLine, globalLocalNodeName, "server1") if len(globalMinioConsoleHost) > 0 { anonCmdLine = strings.ReplaceAll(anonCmdLine, globalMinioConsoleHost, "server1") } return anonCmdLine } // Server start command regex groups: // 1 - minio server
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
src/archive/zip/reader.go
func (f *fileListEntry) String() string { return fs.FormatDirEntry(f) } // toValidName coerces name to be a valid name for fs.FS.Open. func toValidName(name string) string { name = strings.ReplaceAll(name, `\`, `/`) p := path.Clean(name) p = strings.TrimPrefix(p, "/") for strings.HasPrefix(p, "../") { p = p[len("../"):] } return p } func (r *Reader) initFileList() {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
cmd/utils.go
func dumpRequest(r *http.Request) string { header := r.Header.Clone() header.Set("Host", r.Host) // Replace all '%' to '%%' so that printer format parser // to ignore URL encoded values. rawURI := strings.ReplaceAll(r.RequestURI, "%", "%%") req := struct { Method string `json:"method"` RequestURI string `json:"reqURI"` Header http.Header `json:"header"` }{r.Method, rawURI, header}
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
src/cmd/api/main_test.go
// This makes all the references to os.FileInfo in go1.txt // be read as if they said fs.FileInfo, since os.FileInfo is now an alias. // If there are many of these, we could do a more general solution, // but for now the replacer is fine. var aliasReplacer = strings.NewReplacer( "os.FileInfo", "fs.FileInfo", "os.FileMode", "fs.FileMode", "os.PathError", "fs.PathError", )
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/bytes/bytes_test.go
if cap(in) == cap(out) && &in[:1][0] == &out[:1][0] { t.Errorf("Replace(%q, %q, %q, %d) didn't copy", tt.in, tt.old, tt.new, tt.n) } if tt.n == -1 { out := ReplaceAll(in, old, new) if s := string(out); s != tt.out { t.Errorf("ReplaceAll(%q, %q, %q) = %q, want %q", tt.in, tt.old, tt.new, s, tt.out) } } } } func FuzzReplace(f *testing.F) { for _, tt := range ReplaceTests {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the map unmodified. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
* * @param value the string to process * @return the string with special characters replaced by underscores */ protected String replaceWithUnderscores(final String value) { return value.replaceAll("[/\\\\\\[\\]:;|=,+\\*?<>]", "_"); } /** * Sets an attribute value from search results using a Consumer. * * @param result the list of search results
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 82K bytes - Viewed (0)